authorisation bearer token code example
Example 1: bearer token header
Authorization: Bearer <token>
Example 2: generate bearer token
HMACSHA256(
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
) secret base64 encoded
Authorization: Bearer <token>
HMACSHA256(
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
) secret base64 encoded