I
I
Ivan-P2018-02-13 00:41:23
JSON Web Token
Ivan-P, 2018-02-13 00:41:23

How to get user data from Auth0 on the backend?

The documentation for working with Auth0 describes well how to authorize using JWT tokens and allow only authorized users to access certain endpoints. But I need to receive / issue different information to different users on the same endpoint. Is it possible to get the user's id from Auth0 using the backend?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2018-02-13
@alfss

Any information can be placed inside the JWT token. (payload)
https://auth0.com/docs/scopes/current#example-add-...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question