OAuth Authentication
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2025 04:30 AM
Hi All,
Based on the articles provided in the community , I have gone through the OAuth setup, I have below queries:
My implementation was earlier done through Basic Authentication in REST Step, now I am going to use OAuth.
Now I have done the Application Registry setup , after this I clicked on Get OAuth Token. I receive the tokens.
Query now is :
1)How do I incorporate it into my Flow , do I need to use/select the Oauth profile under credential alias ? See below screenshot:
2)In relation to query 1 , if 1 is not possible do I need to write a REST Message and call it , if yes then I need to supply the refresh token as output ?
3)Coming to the periodic refreshing of tokens , do I need to write a scheduled job , if yes then how do I supply this periodic refresh of tokens as an input to my flow , I saw the videos of refresh tokens being stored in system property.
Requesting guidance on this setup as this is my first time setting up OAuth process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2025 06:13 AM
Hi,
Use REST Step in flow designer
Create connection and credential aliases
Select connection alias and pass bearer token in Headers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-11-2025 07:25 AM
@Shruti , thanks a lot for your reply , could you also let me know the process of refresh token , if we write scheduled job to get the refresh token periodically how will it be stored in the table where both refresh and authorize token are stored.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-13-2025 12:29 AM
Yes, use the OAuth profile in the credential alias or REST Message.