REST API (Representational State Transfer Application Programming Interface) is an architectural style for designing networked applications. It is a set of constraints or principles that define how resources should be represented and addressed in a distributed and stateless manner. REST is not a specific technology but rather a set of architectural principles commonly applied to web services.
OAuth 2.0 is a powerful and secure framework that allows different applications to securely interact with each other on behalf of users without sharing sensitive credentials.
The entities involved in OAuth are the User, the Server, and the Identity Provider (IDP).