# I can optionally migrate a user group with Hybrid live migration process (Okta Users API migration) and custom inline hook

**URL:** <https://devforum.okta.com/t/i-can-optionally-migrate-a-user-group-with-hybrid-live-migration-process-okta-users-api-migration-and-custom-inline-hook/13910>\
**Category:** Questions\
**Created:** [April 21, 2021, 9:43pm UTC](https://devforum.okta.com/t/i-can-optionally-migrate-a-user-group-with-hybrid-live-migration-process-okta-users-api-migration-and-custom-inline-hook/13910 "2021-04-21T21:43:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesus](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jesus](https://devforum.okta.com/u/jesus)\
**Post date:** [April 21, 2021, 9:43pm UTC](https://devforum.okta.com/t/i-can-optionally-migrate-a-user-group-with-hybrid-live-migration-process-okta-users-api-migration-and-custom-inline-hook/13910/1 "2021-04-21T21:43:38Z")

</div>

I can optionally migrate a user group with Hybrid live migration process  
(Okta Users API migration)

I am trying to migrate a user group from the entire user universe of my platform and what I am trying to use are the inline hook register password.

what I want is that all the users authenticate with the okta widget but that:

the first group, the group to migrate is validated with my inline hook and ends up migrating after external validation. and return the auth token to me.

but the second group that I don’t want to migrate yet. I want it to authenticate with the okta widget but for the inline hook to be different and for this the external resource is the one that returns the token, maybe including it as a claim of the okta openid token.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 8, 2024, 6:04pm UTC](https://devforum.okta.com/t/i-can-optionally-migrate-a-user-group-with-hybrid-live-migration-process-okta-users-api-migration-and-custom-inline-hook/13910/2 "2024-02-08T18:04:50Z")

</div>

Closed on February 8, 2024, 6:04pm UTC


