How to import Okta users

We are Auth0 customers. A customer asked us to integrate with Okta so they can import Okta users into Swif.ai. Please help to assist how to create a public app so we can get the client ID and secret to provide the OAuth for the integration and then get he access token to read Okta user’s data.

Hi @swifteam

Thank you for reaching out!

Based on the information provided, I assume the use-case is to have Okta as the IdP, which would mean that an Enterprise Integration is required on your Auth0 tenant.
Depending on the preferred authentication protocols, please see the appropriate documentation below:

Once the setup is complete, you will need to configure attribute mappings or add claims to the token. Allow me to leave a documentation for each:

Finally, you should be able to Enable the Enterprise Connection within your application and allow the users access to it. This should create visibility over the users.

Hope this helped!
Gerald

Hi Gerald,

Thanks for the reply! If we want to import Okta users and create customer employee records on our end instead of immediately creating all user profiles on Auth0, do we use the same approach? The approaches you shared are used to create user profiles on Auth0, right?

Angelo

Hi @swifteam

Thank you for the details!
Essentially, by configuring a SAML or OIDC Enterprise Connection, the users that arrive in Auth0 will be externally sourced and not added to any Auth0 Connection/Database. If you’d like to have users added directly in a Database, you can perform a Bulk User Import, or consider one of the other User Import methods available.

Additionally, you could configure Inbound SCIM for Okta Workforce Connections, which syncs and imports the users from Okta to your Auth0 tenant and if there are any changes made to the users, it will get pushed to Auth0 automatically. This once again does not add users to any Database on it’s own. More general information on SCIM can be found on this documentation.

Let me know if this suits your user-case.

Have a great week ahead!
Gerald

1 Like

Hi Gerald, thanks for the article Inbound SCIM for Okta Workforce Connections! I feel this answers our another question - How to streamline Okta login experience?.

For this question, we actually want Okta users to be imported into the customer’s organization’s employee records in our system. This employee is not yet associated with any Auth0 user profile yet.

Do I understand correctly?