Passing groups from Okta Workforce connection

Hi!
I have played around with Okta Workforce connection but I can’t get the users groups to pass along. Anyone know how to do this?

1 Like

Hi @andycederlund

Thanks for getting in touch with us at Auth0 Community.

I think the Okta Workforce Connection does not support groups ‘out of the box’ but you should be able to achieve login with Okta via SAML and pull groups across into Auth0, please see here https://auth0.com/docs/authenticate/protocols/saml/saml-sso-integrations/configure-auth0-saml-service-provider/configure-okta-as-saml-identity-provider

You can then specify that groups will be passed in the response when on Step 2 of the SAML Integration Wizard in Okta, below I have configured Okta to send all of the user’s groups by using a regex expression which will match any group name, and then set this to be sent in an attribute “groups”, for example:

In Auth0, this will be stored like this:

Warm regards.

2 Likes