Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding OIDC Keycloak with .well-known/openid-configuration failed because of trailing slash #4710

Open
hillout opened this issue Apr 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hillout
Copy link

hillout commented Apr 24, 2024

Hi, here is another bug that I discovered while was trying to add OIDC Keycloak from UI Admin console in Boundary.

If you add issuer with .well-known/openid-configuration, in my example it is http://172.21.33.27:9999/realms/inventory/.well-known/openid-configuration:
Screenshot from 2024-04-24 17-57-44

And fill out the rest, you'll be able to add the OIDC Provider as expected, but, once you'll try to set it's state for example Public, it will fail:
Screenshot from 2024-04-24 17-58-48

Cuz the boundary set the issuer as - http://172.21.33.27:9999/realms/inventory/ - with the trailing slas in the end, and with "/" it does not match with the OIDC provider which is:
Screenshot from 2024-04-24 18-22-06

It doesn't include **/**

To resolve this issue you just need to delete that slash and the OIDC can be set to Public and after been used without any problems:

Screenshot from 2024-04-24 18-10-19

Screenshot from 2024-04-24 18-10-10

@hillout hillout added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant