I'm learning something about Authorization like Basic, Digest, OAuth2.0, JWTs, and Bearer Token.
Now I have a question.
You know the JWTs is being used as an Access_Token in the OAuth2.0 standard. JWTs appears at RFC 7519, and Bearer Token is at RFC 6750 .
For example, the Bearer:
Authorization: Bearer <token>
I used to send token to server by AJAX or add token to the query string of the url. I know that a token can also be sent by adding it to a request header. Does that mean that token should be added to Authorization Bearer header?
Could you please tell me the relationship between JWTs and Bearer Token? Thanks a lot.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…