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

Problem connecting OpenQA to Keycloak via OpenID #6065

Open
AnDrEyKa-111 opened this issue Nov 22, 2024 · 0 comments
Open

Problem connecting OpenQA to Keycloak via OpenID #6065

AnDrEyKa-111 opened this issue Nov 22, 2024 · 0 comments

Comments

@AnDrEyKa-111
Copy link

I have OpenQA 4.6 and I want to set up OpenID Connect authorization on Keycloak 22.0.3. According to the documentation, only the following specification in /etc/openqa/openqa.ini is needed:

[auth]
method = OpenID
[openid]
provider = https://kc.my.domain/realms/master/.well-known/openid-configuration

For OIDC, also need to specify "Client ID" and "Client secret", but how to do this is not specified in the openQA documentation.

When I try to go to the login page https://openqa.my.domain/login, I always get the message "Forbidden". There is an error in the OpenQA log: "Claiming OpenID identity for URL 'https://openqa.my.domain' failed: no_identity_server: Could not determine ID provider from URL".

You can specify one of the OpenID Connect public providers to check this situation, for example:
provider = https://accounts.google.com/.well-known/openid-configuration
And get the same behavior that I observe myself.

What am I doing wrong and how do I set up OpenID connect correctly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant