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

Invalid keycloak auth url for login #570

Open
jet-go opened this issue Jun 21, 2023 · 1 comment · May be fixed by #575 or #591
Open

Invalid keycloak auth url for login #570

jet-go opened this issue Jun 21, 2023 · 1 comment · May be fixed by #575 or #591

Comments

@jet-go
Copy link

jet-go commented Jun 21, 2023

Issue Summary
Same issue as alerta/alerta#1808. Necessary changes also needs to be done on front end.

Environment

  • OS: [Linux, Mac, Windows]

  • API version: 9.0.0

  • Deployment: Docker

  • For self-hosted, WSGI environment: nginx/uwsgi

  • Server config:
    Auth enabled? Yes
    Auth provider? Keycloak
    Customer views? Yes
    (or provide the /config endpoint output)

  • web UI version: 8.7.0

  • CLI version: 8.5.2

To Reproduce
Steps to reproduce the behaviour:

  1. Deploy keycloak 17+ with defaults.
  2. Run alerta with keycloak as auth provider.
  3. Alerta server should have the KEYCLOAK_URL set to http://<kc-url>/auth.
  4. Run alerta-webui.
  5. When we try to access, the url is redirected to http://<kc-url>/auth/auth/realms/... for login.

Expected behavior
Remove /auth from authorization Endpoint.
https://github.com/alerta/alerta-webui/blob/master/src/services/auth.ts#L85

@holiiveira holiiveira linked a pull request Oct 27, 2023 that will close this issue
4 tasks
@tbbkitty
Copy link

Got around this by just using the openid config as this is more "clean"

See: alerta/docker-alerta#463 (comment)

@PrincipeAgustin PrincipeAgustin linked a pull request May 31, 2024 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants