How to Regenerate OAuth Token Using Azure Provider?
Greetings,
I'm trying to refresh Oauth tokens I'm creating, but neither the user action nor the Flow step "Refresh Token" seems to work.
I am using the Client Credentials option to authorize the Token. MS Azure is the provider for the Token. What should I be doing differently to refresh the token?
Comments
-
Hello there!
First, can we ensure you have the right scope enabled? Scopes are permissions that limit an application's access to a user account. More information on required scopes can be found by referring to the application's API documentation. If you are using Azure, you should ensure that Offline Access is enabled to perform the refresh. Adding the line "https://outlook.office.com/.default offline_access" to the Token's Scope Field should help (shown in the documentation below). This gives the Token the necessary permissions to refresh offline.
Also, if you are using Client Credentials, you will need to use the Reset Client Credentials step to perform the token refresh consistently (see documentation below). Running a scheduled job to perform this might be optimal.
https://documentation.decisions.com/docs/creating-oauth-tokens
We hope this helps!
-Gregory
Howdy, Stranger!
Categories
- 4.1K All Categories
- 61 General
- 11 Training
- 201 Installation / Setup
- 1.1K Flows
- 106 Rules
- 260 Administration
- 212 Portal
- 489 General Q & A
- 693 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 51 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 178 Pages
- 5 Process Mining
- New Features
- 178 Datastructures
- 69 Repository
- 219 Integrations
- 28 Multi-Tenant
- 27 SDK
- 76 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 66 Lunch And Learn Questions