admin管理员组文章数量:1122832
We've recently upgraded our Artifactory to the latest version. Most things seem to work but our existing SAML configuration broke. When trying to login we get:
{"errors":[{"code":"INTERNAL_SERVER_ERROR","message":"HTTP 500 Internal Server Error","detail":"entityId cannot be empty"}]}
In the documentation entityId or Service provider id is referred to as a URI. In our configuration from 7.55.8 it is, however, not a URI.
I tried reconfiguring the settings under a different name than default but it's the same issue. When I try inspecting the network traffic, I don't see any connections to our Keycloak instance.
Also tried configuring the Service Provider Id as a URI.
Does any one have any suggestions?
We've recently upgraded our Artifactory to the latest version. Most things seem to work but our existing SAML configuration broke. When trying to login we get:
{"errors":[{"code":"INTERNAL_SERVER_ERROR","message":"HTTP 500 Internal Server Error","detail":"entityId cannot be empty"}]}
In the documentation entityId or Service provider id is referred to as a URI. In our configuration from 7.55.8 it is, however, not a URI.
I tried reconfiguring the settings under a different name than default but it's the same issue. When I try inspecting the network traffic, I don't see any connections to our Keycloak instance.
Also tried configuring the Service Provider Id as a URI.
Does any one have any suggestions?
Share Improve this question asked Nov 21, 2024 at 13:46 EliEli 12 bronze badges2 Answers
Reset to default 1is the custom base url is set in Artifactory?
curl -u<:> https://<artifactory_url>/artifactory/api/system/configuration/platform/baseUrl
similar to the google configuration (https://jfrog.com/help/r/jfrog-platform-administration-documentation/saml-sso-configuration-with-google)
the saml service provider name should be
the entity ID from Keycloak.
and in Keycloak setting you need to change the ACS URL should be in this format:
<CustomURL>/ui/api/v1/auth/saml/loginResponse/<saml_display_name>
and SP Identity is the <CustomURL>
So, I really really really hate this... When debugging we found that we needed to set the baseURL as our Keycloak client name. Then it worked.
After this we've upgraded our production environment and get this, the stupid problem didn't occur... Everything is still the same as it was before.
I have no idea what went wrong or why it works now but it does...
本文标签: keycloakSAML configuration broke after upgrade from 7558 to 7988Stack Overflow
版权声明:本文标题:keycloak - SAML configuration broke after upgrade from 7.55.8 to 7.98.8 - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736310340a1934342.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论