
j5v7c (j5v7c) asked a question.
- scope=openid%20groups%20offline_access
In the JWT I don't see a claim for 'groups'.
We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All

We use cookies to provide the best website experience and to help understand marketing efforts. We may also share data with ad partners to reach potential customers across the web. To learn more, visit our Privacy Policy. Click here for Your Privacy Choices. You may also opt out of this sharing by signaling your preference via GPC, applicable only to the browser signaling the opt-out.
More information
These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.
Select All
May Okta Community Buzz
Stay ahead of the curve with Okta for AI Agents, new Okta Learning live sessions and labs, shout-outs, and top trending topics—all aimed at enriching your Okta journey.
I see the same problem as Jeff. I can return a group mastered in Okta, but not AD groups synced via the AD agents. Anyone have any thoughts on this ?
Are there any updates to this post? I am experiencing the same thing as Jeff.
I am also having this same issue. It seems that this should be easily done if AD groups are allowed to be synced/imported. Not sure why they are treated differently than any other Okta group. I have a meeting with Okta support today...if I get a resolution, I will post here.
So the results for the meeting, for anyone needing to get AD groups out...
Direct support for AD groups and OpenId is still not available through the API. You have 2 options plus a path that I'm taking:
See documentation here: https://developer.okta.com/reference/okta_expression_language/#group-functions
My solution:
Create a new Okta group to match your AD group and create a rule that maps the users from the AD group to the new Okta group. Setting up a new Okta group and creating a rule seems to be the path of least resistance here.
For option 1, if you're security groups in AD are not named with any kind of standards in mind, the more groups you work with, the greater the potential for needing to add multiple claims. This means that if you're working with something like .NET, you have to do manual mapping to get the claims mapped to the built in Identity Provider.
Option 2 can just become a maintenance nightmare in the long run. The dev resource I spoke with actually advised against using a whitelist due to the potential maintenance involved. Whitelists are also application specific.
Hope my findings help anyone else in search of a good solution. Creating Okta groups to replace the AD groups might not be ideal, but it seems to be the easiest solution...at least for my needs.