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

[Question] What configuration is incorrect if getting Invalid parameter: redirect_uri error during Keycloak based SSO #1337

Open
2 of 6 tasks
js333031 opened this issue Jan 2, 2025 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@js333031
Copy link

js333031 commented Jan 2, 2025

Priority

Undecided

OS type

Ubuntu

Hardware type

Xeon-GNR

Installation method

  • Pull docker images from hub.docker.com
  • Build docker images from source

Deploy method

  • Docker compose
  • Docker
  • Kubernetes
  • Helm

Running nodes

Single Node

What's the version?

NA

Description

I think I have followed the steps in "Setup Keycloak" section of this guide.

While logging into the Productivity UI through Keycloak, following error is encountered. What could be the reason for this error? I think I have followed the keycloak setup instructions.

image

Reproduce steps

NA

Raw log

No response

@js333031 js333031 added the bug Something isn't working label Jan 2, 2025
@yinghu5 yinghu5 self-assigned this Jan 3, 2025
@yinghu5 yinghu5 added the aitce label Jan 3, 2025
@xiguiw
Copy link
Collaborator

xiguiw commented Jan 6, 2025

I am contacting this example owner to track this issue.

@xiguiw xiguiw removed the aitce label Jan 6, 2025
@xiguiw xiguiw assigned xiguiw and ragural and unassigned xiguiw Jan 6, 2025
@ragural ragural removed their assignment Jan 6, 2025
@xiguiw
Copy link
Collaborator

xiguiw commented Jan 6, 2025

@ragural
Please help to investigate this issue. Thanks!

@jaswanth8888
Copy link
Collaborator

Hi @js333031, it seems you might have configured an invalid redirect URI in Keycloak.

Refer to the Keycloak Setup Guide 4th step. If you are trying to access the application using ip_address:5174, make sure to specify the same in Step 4 of the guide, and then try again.

@jaswanth8888 jaswanth8888 assigned jaswanth8888 and unassigned ragural Jan 6, 2025
@js333031
Copy link
Author

js333031 commented Jan 6, 2025

hi @jaswanth8888 , in step 4, I needed to use system IP address instead of localhost and remove "/*" from Web Origins field. Then the login worked and redirect proceeded to example LLM apps UI.

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

5 participants