About oauth

yuchen zhang
Tera Contributor

Hello, everyone.
I would like to know if it is possible to use certification to get access token for oauth authentication.

Thanks in advance.

1 ACCEPTED SOLUTION

Randheer Singh
ServiceNow Employee
ServiceNow Employee

@yuchen zhang  Are you looking to use certificate-based authentication for REST APIs? If yes, you can follow the steps provided in this KB
or are you looking for mTLS-based OAuth client authentication?

View solution in original post

3 REPLIES 3

Sohail Khilji
Kilo Patron
Kilo Patron

HI @yuchen zhang,

 

OAuth 2.0 supports several methods for obtaining an access token, and certification-based authentication is not one of the standard methods, Some of the common methods used in servicenow are 

 

1.Client Credentials Grant

2.Implicit Grant

3.Authorization Code

 

Certification-based authentication is not part of the standard OAuth 2.0 flows. However, some specific implementations or custom extensions might enable using certificates as a means of auth. These implementations would be specific to the OAuth server or provider you are working with.

 

If you are working with a particular OAuth provider that supports certificate-based authentication, you would need to refer to their docs or APIs to understand the details of how to use certificates for obtaining an access token.

 

I hope this helps !

 


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Randheer Singh
ServiceNow Employee
ServiceNow Employee

@yuchen zhang  Are you looking to use certificate-based authentication for REST APIs? If yes, you can follow the steps provided in this KB
or are you looking for mTLS-based OAuth client authentication?

Thank you, this is what our team was looking for!