Hi Team
While trying to configure the OIDC in the GoodData.CN community edition running on my local machine, getting the below error.
level=ERROR msg="Bad Request" logger=com.gooddata.tiger.web.exception.BaseExceptionHandling thread=http-nio-9007-exec-2 orgId=default spanId=ec8ee450d037b79e traceId=ec8ee450d037b79e userId=admin exc="errorType=com.gooddata.tiger.metadata.tools.InvalidOrganizationChangeException, message=Organization hostname cannot be changed
at com.gooddata.tiger.metadata.service.OrganizationService.updateOrganization$suspendImpl(OrganizationService.kt:81)
at com.gooddata.tiger.metadata.service.OrganizationService.updateOrganization(OrganizationService.kt)
at com.gooddata.tiger.metadata.service.OrganizationService$$FastClassBySpringCGLIB$$164c5933.invoke(<generated>)
Removed the client id, secert and url and sharing the API request.
curl --request PUT \
--header "Authorization: Bearer YWRtaW46Ym9vdHN0cmFwOmFkbWluMTIz" \
--header 'Content-Type: application/vnd.gooddata.api+json' \
--data '{
"data": {
"id": "default",
"type": "organization",
"attributes": {
"name": "default",
"hostname": "localhost:3000",
"oauthIssuerLocation": "",
"oauthClientId": "",
"oauthClientSecret": ""
}
}
}' http://localhost:3000/api/entities/admin/organizations/default
Please let me know whether I can configure ODIC in community edition. If yes, kindly let me know the reason for the error
Best answer by Jan Chochol
View original