Get Groups in NextJS App

Hi Team,

We want to implement groups in our app. Can you please help in implementation of it. Currently in scope i have included groups but i did not get anything. Please help with example for Nextjs app with next-auth.

Thanks!

You mention using the groups scopes, but from which authorization server (issuer) is your application requesting tokens?

Yes, It is through Organization authentication and want to fetch the groups associated with the user.

How did you configure the groups claim on the Application → Sign On/Authentication tab?

For example, the set-up I have below is broad and is designed to return all groups of which the user is a member within the claim

Yes, I have given the same permissions.

Have you tried sending the Access Token your application received to the Userinfo endpoint? See this article for more information about why this may be necessary

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.