function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDC 1904SFDC 1904 

What is the difference between auth and oauth ?

What is the difference between auth and oauth ? 
Raj VakatiRaj Vakati

Are you taking difference between Oauth and Basic Auth differences ?

Basic authentication which requires a very simple hashing in order to calculate the single required header 

OAuth is not authentication. It’s an authorization protocol, or, better yet, a delegation protocol. It’s for this reason that identity protocols such as OpenID Connect exist and legacy protocols such as SAML use extension grants to link authentication and delegation.

Deepali KulshresthaDeepali Kulshrestha

Basic authentication did not specify that you need to encrypt the details, you just need to base64 them. So it's clear text.

OAuth is a specification for authorization not authentication.
OAuth (Open Authorization) is an open standard for token-based authentication and authorization on the Internet.

OAuth, which is pronounced "oh-auth," allows an end user's account information to be used by third-party services, such as Facebook, without exposing the user's password. OAuth acts as an intermediary on behalf of the end user, providing the service with an access token that authorizes specific account information to be shared. 

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha