Hi @mdebruin93,
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.
I suggest referring to our Adding custom claims to tokens knowledge solution.
Let me know how if you have any questions.
Thanks,
Rueben