# Custom scopes/permissions not included in access token from Okta IdP

**URL:** <https://community.auth0.com/t/custom-scopes-permissions-not-included-in-access-token-from-okta-idp/133617>\
**Category:** Get Help\
**Tags:** oidc-enterprise-connection, connections\
**Created:** [May 7, 2024, 5:37pm UTC](https://community.auth0.com/t/custom-scopes-permissions-not-included-in-access-token-from-okta-idp/133617 "2024-05-07T17:37:10Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 7, 2024, 9:42pm UTC](https://community.auth0.com/t/custom-scopes-permissions-not-included-in-access-token-from-okta-idp/133617/4 "2024-05-07T21:42:39Z")

</div>

Hey @darrenk!

I see that there’s an `org_id` in the access token shared, are the permissions assigned directly to the user or by way of an organization? The following post explains the difference well and why you aren’t seeing any permissions in the `permissions` claim:

> [@Permission claim empty if logging on using Organization - still unresolved](https://community.auth0.com/t/permission-claim-empty-if-logging-on-using-organization-still-unresolved/97845/3):
>
> Hi @PatrickHeneise Thanks for reaching out to the Auth0 Community! My apologies for not getting back to you sooner. And yes, normally topics are automatically closed after 15 days from the last reply. Now, after my investigation, I found that there were no issues with getting the permissions added to the access token when authenticating with Organizations. I believe what happened involved the user only being assigned to those Permissions globally on their user profile (non-organization), in…

---

_[View the full topic](https://community.auth0.com/t/custom-scopes-permissions-not-included-in-access-token-from-okta-idp/133617)._
