The CreatorCon Call for Content is officially open! Get started here.

why do we use oauth authentication instead of basic authentication

Srinivasu2
Tera Contributor

Hi Team,

 

Could you please clarify why do we use oauth authentication instead of basic authentication?

 

Regards,

Srinivasu 

 

 

3 REPLIES 3

Tushar
Kilo Sage
Kilo Sage

Hi @Srinivasu2 

 

Below are features consider using OAuth authentication over Basic Authentication in ServiceNow:

 

  1. Enhanced Security: OAuth provides a more secure way of authenticating users or applications without exposing credentials like passwords. It uses tokens for authorization, reducing the risk of credentials being intercepted.
  2. Limited Scope: OAuth allows you to grant limited permissions to specific resources or actions without giving full access to the user/application.
  3. Revocable Tokens: OAuth tokens can be revoked without changing user passwords, enhancing security in case of compromised tokens.
  4. Third-Party Integration: If you're integrating with third-party applications, OAuth is often the preferred method, as it allows external services to access your ServiceNow instance securely without sharing actual credentials.
  5. Compliance: Some regulations or security standards might require the use of OAuth for better security practices.

Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!

Regards,
Tushar

 

Samaksh Wani
Giga Sage

Hello @Srinivasu2 

 

Unlike Basic Auth, where you have to share your password with people who need to access your user account, OAuth doesn't share password data. Instead, OAuth uses authorization tokens to verify an identity between consumers and service providers.

 

Read the below doc for more detailed information :-

 

https://distologystudios.com/blog/the-difference-between-basic-auth-and-oauth

 

 

Plz Mark my Solution as Accept and Give me thumbs up, if you find it helpful.

 

Regards,

Samaksh

Samaksh Wani
Giga Sage

Hello @Srinivasu2 

 

Plz mark the Solution as Accept, if you find it helpful and close the Thread. It will help the future readers.

 

Regards,

Samaksh