- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 06:07 AM
HI ,
Anybody has used to REST Step in flow designer action to get the Oauth token from external system,if yes .
Could you please share me some details.
What is the use of 'Request Type' and 'Request Body' ,do we need to put anything in the request body
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 07:38 AM
Better to have a custom action which can be re-used.
You can pass the details as input to that action, that action will use script step and give 1 output as the access token.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-31-2025 07:38 AM
Better to have a custom action which can be re-used.
You can pass the details as input to that action, that action will use script step and give 1 output as the access token.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2025 04:50 AM
Getting this below error
Ignore oauth entity from request. Use provider from oauth entity profile.
Ignore grant_type parameter in request. Use grant type from oauth entity profile.
OAuthProblemException{error='Unauthorized', description='null', uri='null', state='null', scope='null', redirectUri='null', responseStatus=0, parameters={}}
failed to get access token from remote oauth server.
*** Script: AccessToken:null
*** Script: AccessTokenExpiresIn:0
*** Script: RefreshToken:null