Can I get an idToken from an auth0 rule? -


is there way can access idtoken have been generated on user creation in auth0 rules context?

i'd sync user registrations backend system , need idtoken auth0 signup have generated. way can http post data in rules trigger.

no, because id token generated when rules finish executing. reason further rules might deny user authenticating or modify profile before actual token gets generated.

the proper way define backend resource server on auth0, , use client credentials rule: https://auth0.com/docs/api-auth/grant/client-credentials.

another alternative call auth0 management api fetch user information backend when necessary.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -