岡田侑弥
10/17/2023, 11:09 AMcurl -H "Authorization: Bearer XXXXXX" \
--header 'Content-Type: application/vnd.gooddata.api+json' --request PUT --data '{
"data": {
"id": "jyoz7djfd3",
"type": "organization",
"attributes": {
"name": "ReHATCH Inc..",
"hostname": "<http://XXXX.cloud.gooddata.com|XXXX.cloud.gooddata.com>",
"oauthIssuerLocation": "<https://XXX.okta.com/>",
"oauthClientId": "XXXXXX",
"oauthClientSecret": "XXXXXX"
}
}
}' "<https://rehatch.cloud.gooddata.com/api/v1/entities/admin/organizations/jyoz7djfd3>"
However, we got the following error when we open XXXX.cloud.gooddata.com. Is is able for you to confirm what configuration metadata did not match?
{
"title": "Unauthorized",
"status": 401,
"detail": "401 UNAUTHORIZED \"Authorization failed for given issuer \"<https://XXX.okta.com/>\". The Issuer \"<https://XXX.okta.com>\" provided in the configuration metadata did not match the requested issuer \"<https://XXX.okta.com/>\"\"",
"traceId": "6ce9b525fe55b07be0a22a2d0b99a5cd"
}
Moises Morales
10/17/2023, 11:20 AM<https://issuer.okta.com>
However, the requested issuer is:
<https://issuer-admin.okta.com/>
Please make sure the issuer in the configuration metadata matches the requested issuer.岡田侑弥
10/17/2023, 11:25 AM"oauthIssuerLocation": "<https://XXX.okta.com/>",
is in the form of
"oauthIssuerLocation": "<https://YYY-admin.okta.com/>",
, so I intended to configure <https://YYY-admin.okta.com/>
.Moises Morales
10/17/2023, 12:19 PM/
, you will need to remove it from the OKTA configuration so it matches the openID configuration.岡田侑弥
10/23/2023, 11:28 PM-admin
and tried again but the same error occurred. What is the reason this time?
{
"title": "Unauthorized",
"status": 401,
"detail": "401 UNAUTHORIZED \"Authorization failed for given issuer \"<https://trial-3767928.okta.com/>\". The Issuer \"<https://trial-3767928.okta.com>\" provided in the configuration metadata did not match the requested issuer \"<https://trial-3767928.okta.com/>\"\"",
"traceId": "cd2eaecff0b405ecf56affbf4685fedd"
}
Moises Morales
10/24/2023, 2:01 PM