본문 바로가기
2️⃣ 개발 지식 B+/에러 해결 모음

What is "Bearer" in JWT (Json Web Token)

by ddubbu 2021. 1. 21.

stackoverflow.com/questions/39992774/verify-a-jwt-token-string-containing-bearer-with-nodejs

 

1. What is "Bearer" ?

The value Bearer in the HTTP Authorization header indicates the authentication scheme, just like Basic and Digest. It's defined in the RFC 6750

 

2. How to solve it for verify JWT

그러해서 authHeaderValue에 붙은 scheme 을 떼고 Token 만 얻기