Where to add username password in Oauth 2.0 password grant type.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 03:16 AM
I am trying to find where i can add username and password in Oauth 2.0 ( Oauth entity profile) password grant type for third party integration. I know we can add user name and password after selecting Get auth token but its giving error.
- Labels:
-
Integrations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 03:23 AM
Hi,
have a look at this
How to Setup OAuth2 authentication for outbound RESTMessageV2 integrations
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 06:19 AM
Thanks for your suggestion Ankur, when iam trying step 3 (Test tokens generation script to OAuth provider instance 1 (from OAuth consumer instance 2)
I am getting below error, not sure is it something to enable at third party end.
Fips: Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated callchain=[{http '2022-07-07T06:58:52.722318Z' '11'}, {scoped_script_evaluation '53bdb3361b8f41109d1642eacd4bcb11' '2022-07-07T06:58:52.709437Z' '8'}]
Request not sent to uri= https://xxxxxxxxxxxxxxx
org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted: Session contains no certificates - Untrusted
Invalid null response.: no thrown error
OAuthProblemException{error='Invalid null response.', description='', uri='null', state='null', scope='null', redirectUri='null', responseStatus=0, parameters={}}
*** Script: AccessToken:null
*** Script: AccessTokenExpiresIn:0
*** Script: RefreshToken:null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 06:23 AM
Thanks for your suggestion Ankur, when iam trying step 3 (Test tokens generation script to OAuth provider instance 1 (from OAuth consumer instance 2)
I am getting below error, not sure is it something to enable at third party end.
Fips: Integration crypto failure protocol=HTTPS javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated callchain=[{http '2022-07-07T06:58:52.722318Z' '11'}, {scoped_script_evaluation '53bdb3361b8f41109d1642eacd4bcb11' '2022-07-07T06:58:52.709437Z' '8'}]
Request not sent to uri= https://www.xyz.com
org.apache.commons.httpclient.HttpException: Session contains no certificates - Untrusted: Session contains no certificates - Untrusted
Invalid null response.: no thrown error
OAuthProblemException{error='Invalid null response.', description='', uri='null', state='null', scope='null', redirectUri='null', responseStatus=0, parameters={}}
*** Script: AccessToken:null
*** Script: AccessTokenExpiresIn:0
*** Script: RefreshToken:null
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2023 02:12 AM
Hello,
I am having the same error message, any solutions?
Thanks.