Forum Discussion

cbetta's avatar
cbetta
Frequent Visitor
6 years ago

How to document API that uses OAuth2 and bearer auth?

I've been looking at the authentication docs and I'm a bit confused.   Our API uses Auth2 to get an access token, both through client-side redirect and JWT assertions.    It then uses the acc...
  • Nastya_Khovrina's avatar
    6 years ago

    Hi cbetta,

     

    When you use OAuth 2.0, the Authorization header will look like:

    Authorization: Bearer <some value>

     

    Also, the Bearer authentication scheme was originally created as part of OAuth 2.0 in RFC 6750