Auth 2.0, also called open authorization, is industry-standard protocol for secure authentication. The protocol enables third party apps to access user data without sharing their credentials, such as username and passwords. Instead the protocol, let’s the client(third party app) access or query information using access tokens (generated by OAuth 2.0 provider).

Use Scenario

Authorization: verify what access does a user have

JWT - JSON Web Token

Traditional Use Scenario

AuthenticationManager to with JWT in spring security

OAuth 2.0 resource Server configuration