When setting up a fresh image on 26.1.2, I'm getting "Error creating OIDC IdP. Check for an existing IDP." on a fresh realm, fresh user, fresh organization. I've given the user all the roles, but it seems that it is not enough. When I give the user realm roles (manage-identity-providers, etc) it seems to let it go through successfully and the IDP is created, but it doesn't seem to associate it with the organization.
I also tried with the portal link, and the organization user by setting a password, and same error. It seems Keycloak isn't trusting the roles that are set for the user?
Nothing in the logs about anything problematic.


Developer Tools


Any help is appreciated, happy to PR some changes if needed. Thanks!
When setting up a fresh image on 26.1.2, I'm getting "Error creating OIDC IdP. Check for an existing IDP." on a fresh realm, fresh user, fresh organization. I've given the user all the roles, but it seems that it is not enough. When I give the user realm roles (manage-identity-providers, etc) it seems to let it go through successfully and the IDP is created, but it doesn't seem to associate it with the organization.
I also tried with the portal link, and the organization user by setting a password, and same error. It seems Keycloak isn't trusting the roles that are set for the user?
Nothing in the logs about anything problematic.
Developer Tools
Any help is appreciated, happy to PR some changes if needed. Thanks!