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? If you are using Azure, you should ensure that Offline Access is enabled to perform the refresh. Adding this line should help:
https://outlook.office.com/.default offline_access
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
- 2.1K All Categories
- 17 General
- 154 Installation / Setup
- 988 Flows
- 86 Rules
- 199 Administration
- 203 Portal
- 429 General Q & A
- 596 Forms
- 282 Reports
- 3 Designer Extensions
- 38 Example Flows
- 32 CSS Examples
- 1 Diagram Tile
- 5 Javascript Controls
- 137 Pages
- 1 Process Mining
- New Features
- 147 Datastructures
- 49 Repository
- 165 Integrations
- 25 Multi-Tenant
- 21 SDK
- 39 Modules
- 36 Settings
- 19 Active Directory
- 12 Version 7
- 34 Version 8