Closed MGLL closed 3 days ago
This is a bug. It should use the whole name, including the generated part (e.g. orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml-w6rpqiJNPdNi3zEX
)
@pnzrr Can you look to see why the generic saml wizard isn't using the full path for the alias?
Hello, I was trying to configure an Organization SSO issue IDP-Wizard with two localhost Keycloak for some testing but noticed a problem (using
quay.io/phasetwo/phasetwo-keycloak:24.0.4
).Issue
Upon saving the a SAML configuration, I'm getting this error message:
But there is no Identity Provider and nothing assigned to the Organization originally.
Also,
Cause
The cause that I have identified seems to be linked to the process of creating the mappers (you can have a look in Details).
I noticed that it create the IDP under
orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml
but all following requests for mapper creation use thisorgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml-w6rpqiJNPdNi3zEX/mappers
uri with this IDPgeneric-saml-w6rpqiJNPdNi3zEX
alias.But: generic-saml-w6rpqiJNPdNi3zEX IDP doesn't exists, it is generic-saml.
Is it a bug or is it some configuration issue?
Details
1- Create IDP
POST http://localhost:8081/auth/realms/emca/orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps
Status: 201
Payload:
Location Header: http://localhost:8081/auth/realms/emca/orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml
2- Create mappers
POST http://localhost:8081/auth/realms/emca/orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml-w6rpqiJNPdNi3zEX/mappers
Status: 404
Payload:
POST http://localhost:8081/auth/realms/emca/orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml-w6rpqiJNPdNi3zEX/mappers
Status: 404
Payload:
POST http://localhost:8081/auth/realms/emca/orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml-w6rpqiJNPdNi3zEX/mappers
Status: 404
Payload:
POST http://localhost:8081/auth/realms/emca/orgs/b7200cb6-2dbe-455e-947a-130df8ce6348/idps/generic-saml-w6rpqiJNPdNi3zEX/mappers
Status: 404
Payload:
Here is the logs corresponding to the action, but no error is visible: