What is a bearer token header?

What exactly is the difference between following two headers:


Authorization : Bearer cn389ncoiwuencr  vs Authorization : cn389ncoiwuencrAll the sources which I have gone through, set the value of the 'Authorization' header as 'Bearer' followed by the actual token. However, I have not been able to understand the significance of it. What if I simply put the token in the Authorization header?


A Bearer Token header is set in the Authorization header of every Inline Action HTTP Request and Bearer itself determines the type of authentication. Ref https://developers.google.com/gmail/markup/actions/verifying-bearer-tokens



Your Answer

Interviews

Parent Categories