Using gooddata-cn-ce:dev_20230517.a881988f since I...
# gooddata-cn
j
Using gooddata-cn-ce:dev_20230517.a881988f since I changed the domain to https://analytics.novelcx.com. I have completed the put restoring my Auth0 info. I then updated Auth0 client to the following values per the guides I used when this worked prior. After saving and waiting several minutes, I am getting this error which did not happen prior with a redirect to address https://analytics.novelcx.com/oauth2/authorization/analytics.novelcx.com: { "title": "Unauthorized", "status": 401, "detail": "401 UNAUTHORIZED \"Authorization failed for given issuer \"https://ncx-prod.auth0.com/authorize/\"\"", "traceId": "4b70fd5992b55eca" }
image-6.png,image-7.png,image-8.png
j
Hi Jeffrey, Did you make sure that you’ve specified the URL in `oauthIssuerLocation`parameter as it is provided in OIDC IdP according to the bellow docs? https://www.gooddata.com/developers/cloud-native/doc/cloud/manage-organization/set-up-authentication/#SetUpAuthenticationUs[…]tingsoftheOrganization
j
Yes it is the same PUT used on the last container @Julius Kos
Copy code
{
  "data": {
    "id": "default",
    "type": "organization",
    "attributes": {
      "name": "Reporting & Analytics",
      "hostname": "<http://analytics.novelcx.com|analytics.novelcx.com>",
      "oauthIssuerLocation": "<https://ncx-prod.auth0.com/authorize/>",
      "oauthClientId": "XXXXXXXXXXXXXXXXXXXXXXXXXXXx",
      "oauthClientSecret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
    }
  }
}
The error is my new build requires the location not include the /authorize/ which used to work. Setting that to https://ncx-prod.autho0.com/ solved the issue.
🙌 1
b
Hi Jeffrey, we are happy to see that you made it work and thank you for sharing the solution. Much appreciated.