What is the Difference between Authentications in REST API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 02:00 PM
Hi All,
Please help me to understand it
1. what is Basic authentication ?
2. What is OAuth 2.0 Authntication?
3. what is Difference between of it?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 09:59 PM
Hi Sironi,
Let me try to give you simple definitions.
1. what is Basic authentication ?
Basic authentication is the simplest form of authentication which requires only user name and password to authenticate and start communication with other systems.
2. What is OAuth 2.0 Authentication?
OAuth 2.0 is the modern form of authentication where IDP provides the token based access instead of user credentials which additional security parameters like expiry date of token and limit to only required application/data.
3. what is Difference between of it?
For good high level difference see -
https://www.nylas.com/blog/microsoft-basic-auth-vs-microsoft-oauth/
https://www.youtube.com/watch?v=xEgALJ4al1I
Regards,
Muhammad
Muhammad

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 10:13 PM
Hello
OAuth is an open standard, where the user is redirected to any website, fills in his username/password there (or is already logged in) and then grants clearance for the application to use his account. The application never sees the username/password. To quote the website pages: Basic Authentication is a liability.
OAuth 2.0 is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service. It works by delegating user authentication to the service that hosts the user account, and authorizing third-party applications to access the user account.
Refer the below Links
https://www.youtube.com/watch?v=ew5ycTMELJI
https://www.enableps.com/auth2-0/
also refer Video from MVP Ankur Baviskar
https://www.youtube.com/watch?v=YBh6WFUu0Sk
Please Mark Correct and Helpful
Thanks and Regards
Gaurav Shirsat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2021 10:26 PM
Hi,
Can you help me , how Basic authentication will works in REST message ?