When logging in with a username password combo my custom claims are encoded, but that isn’t the case when I go through the Oauth2.0 flow. My custom claims are in the id token, but not in the access token.
I don’t think it’s safe to gate api access on an id token so this won’t work
Going through the oauth flow does not encode claims in our access token. Going through the tutorial at: Auth0 Python SDK Quickstarts: Login yields a token that can no custom claims. The same can be seen with the follow curl command:
curl --location --request POST ‘https://MY_AUTH0_DOMAIN/oauth/token’ \