Richh73 | 2024-02-13 17:23:40 UTC | #1
I am configuring auto provisioning with the SCIM app in Azure. I am following this KB article
https://help.mypurecloud.com/articles/configure-azure-active-directory-for-genesys-cloud-scim-identity-management/
The problem is, the bearer token I generate is only good for 24 hours. Based on my research, the application should auto renew the bearer token but that isn't happening. Is there a setting I am missing that sets the auto renewal?
Otherwise I need to manually generate a new token every 24 hours and restart the provisioning process
Here is the error in the Azure app
Quarantine details:
While attempting to validate our authorization to access your application, we received this unexpected response: Received response from Web resource. Resource: api.usw2.pure.cloud/api/v2/scim/v2/Users?filter=userName+eq+"AzureADTest-824076f0-79c1-4849-bccf-01cecd48d1c8" Operation: GET Response Status Code: Unauthorized Response Headers: Connection: keep-alive ININ-Correlation-Id: f6753e67-2b2b-4863-932d-c6de2afc2c7d Strict-Transport-Security: max-age=31536000; includeSubDomains X-Cache: Error from cloudfront X-Amz-Cf-Pop: SEA19-C2 X-Amz-Cf-Id: M63LTx4FnYKPPYl7o4HJE5ioD0WMlZKTNiQWybU0PLIxcxeaFYlfA== Cache-Control: no-store, must-revalidate, no-cache Date: Tue, 13 Feb 2024 14:33:54 GMT Via: 1.1 324a68a6c25ee50d774953f3e15a611c.cloudfront.net (CloudFront) Response Content: {"status":"401","detail":"Invalid login credentials.;\n PubApiError[status=401,code=bad.credentials, message=Invalid login credentials.];\n contextId:[ f6753e67-2b2b-4863-932d-c6de2afc2c7d ]","schemas":["urn:ietf:params:scim:api:messages:2.0:Error"]} Please check the service.
tim.smith | 2024-02-13 19:20:01 UTC | #2
Richh73, post:1, topic:24620
the bearer token I generate is only good for 24 hours
That duration is based on your configuration setting. You can configure it to last up to 450 days. https://help.mypurecloud.com/articles/create-an-oauth-client/#tab3
system | 2024-03-14 19:20:08 UTC | #3
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 24620