Should I return user data in an authentication endpoint using JWT?

前端 未结 0 1754
执念已碎
执念已碎 2020-11-27 05:38

I implement an auth endpoint which takes an email and password and returns a JWT token. Inside the JWT there is a payload containing the user ID. Does it matter from a REST/

相关标签:
回答
  • 消灭零回复
提交回复
热议问题