I have rule that adds some custom claims to the access token for authorization purposes. Mostly just a custom roles claim and 2 custom claims for organisations.
And when decoding the access token all of my custom claims appear. Like this screenshot from jwt.io
However, when outputing the custom claims list in my local Flutter SDK only 2 of the 3 custom claims seem to be there? Is this some kind of bug orso or am I missing something?
I have reviewed the screenshot of your claims and noticed that you have non-namespaced claims in your token.
However, access tokens with an Auth0 API audience, excluding the /userinfo endpoint, cannot have private, non-namespaced custom claims. (Reference: Create Custom Claims)
So, in this situation, you will need to make changes to your script to use namespace custom claims.