Configure Flow Designer Rest Step to use OAuth Profile Credentials
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2023 10:08 AM
Currently, I have a Rest Message configured to use OAuth 2.0 as its authentication type. I have an HTTP method configured that returns a user id when I pass in an email address.
Is there a way to configure the Flow Designer REST step to use the same configured OAuth profile under the connection details?
I am able to use a script in flow designer that utilizes my configured HTTP method, but I would like to utilize the REST step action.
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 09:48 AM
Were you able to find a resolution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2023 01:07 PM
No - what we ended up doing was configuring the rest message in ServiceNow and associating the OAuth profile to that Rest Message. We then used a script step in Flow Designer to call the rest message and pull back outputs. Let me know if you need further details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2025 02:20 AM
Looking for same, is it possible to use oauth 2.0 in flow rest step what you showing in above flow rest action.. can we have it in define connection inline ? Is there way to use oauth 2.0 in flow ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2025 02:43 PM
To configure the Flow Designer REST step to use an OAuth profile, you can utilize theConnection & Credential (C&C) Framework with a Configuration Template. The REST step employs a connection & credential alias record associated with http_connection
and oauth_2_0_credentials
records. By referencing the desired oauth_entity_profile
from oauth_2_0_credentials
, you can seamlessly integrate your OAuth setup within the action designer's REST step.
Additionally, you can import a REST Message into a REST Step
For a deeper understanding of OAuth flows in ServiceNow, refer to the following resources:
- https://www.servicenow.com/docs/bundle/yokohama-platform-security/page/integrate/authentication/conc...
- https://www.servicenow.com/docs/bundle/yokohama-security-management/page/product/vulnerability-respo...
- https://www.servicenow.com/docs/bundle/yokohama-platform-security/page/product/credentials/reference...