I’ve set up Okta authentication using a dev account for a simple nodejs / express app. I’m trying to determine which groups the user belongs to without success. I’m new to Okta and only have a little experience with using oauth2, so I’m sure I’m missing something obvious.
I have created the groups, required them for the app, and added them to my one and only user:
I have created a scope for my one and only Authorization Server (default):
I have created a claim and linked it to the above scope and groups:
I am requesting this scope from my custom application:
I am dumping the returned user context data from my express page after login. The second console.log is redundant but what the heck… I’m desperate!
The output does not contain the expected groups data when I log in:
I’ve looked at other threads about determining groups, but I must have missed something. Is there an example that outlines how to do this? A troubleshooting checklist? It seems like a common enough requirement. Thanks for your time!