Repository navigation
Issue when getting refresh token #3738
Lauro (laurodelacerda)
started this conversation in
General
Replies: 4 comments
|
Which API are you trying to connect to? Not all OAuth 2.0 have the same methods. |
0 replies
|
Troy Simeon Taylor (@troystaylor) {
"properties": {
"connectionParameters": {
"token": {
"type": "oauthSetting",
"oAuthSettings": {
"identityProvider": "oauth2",
"clientId": "<<client_id>>",
"scopes": [
"ppdev"
],
"redirectMode": "GlobalPerConnector",
"redirectUrl": "https://global.consent.azure-apim.net/redirect/<<myconnector>>",
"properties": {
"IsFirstParty": "False",
"IsOnbehalfofLoginSupported": false
},
"customParameters": {
"AuthorizationUrl": {
"value": "https://<<okta_auth_server>>/authorize"
},
"TokenUrl": {
"value": "https://<<okta_auth_server>>/token"
},
"RefreshUrl": {
"value": "<<okta_auth_server>>/token"
}
}
},
"uiDefinition": {
"displayName": "OAuth Connection",
"description": "OAuth Connection",
"constraints": {
"required": "true",
"hidden": "false"
}
}
}
},
"iconBrandColor": "#FFFFFF",
"capabilities": []
}
} |
0 replies
|
I’ve done Okta before. Are you using client_credentials or code flow? |
0 replies
|
I'm using client_credentials flow |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello!
I'm having issues with the custom connector connection.
I have set the refresh URL (same as the token URL) but after 1 hour I'm not able to authenticate due to this error:
"Failed to refresh access token for service: oauth2."
Can I set up any configuration on apiProperties.json to automatically get the refresh token?
Any help would be much appreciated!
All reactions