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

Add redirection into registration page in keycloak #533

Open
ikhomutov opened this issue Dec 21, 2024 · 1 comment
Open

Add redirection into registration page in keycloak #533

ikhomutov opened this issue Dec 21, 2024 · 1 comment

Comments

@ikhomutov
Copy link

Title

Add redirection into registration page in keycloak

Summary

Right now the GGK only redirect user into login page in keycloak, using this link
https://<DOMAIN>/realms/<REALM_NAME>/protocol/openid-connect/auth?client_id=<KEYCLOAK_CLIENT_ID>&scope=openid%20profile&redirect_uri=<REDIRECT_URL>&response_type=code
If the registration is enabled in keycloak, it is possible to navigate the user directly into the registration page using following link:
https://<DOMAIN>/realms/<REALM_NAME>/protocol/openid-connect/registrations?client_id=<KEYCLOAK_CLIENT_ID>&scope=openid%20profile&redirect_uri=<REDIRECT_URL>&response_type=code
It would be perfect for GGK to be able to form this url and redirect user directly into registration page

Why?

Usually on a website there are separate buttons 'Sign In' and 'Sign Up'/'Join' that lead into separate pages. Right now I can only have one button 'Login' which will lead into a login page inside a keycloak with the separate link into registration form. This is not very convenient from the user perspective.

How

Add a separate configuration parameter --enable-registration, which if enabled, activate a separate route inside GGK /oauth/registration, which will form the correct registration url and redirect user into it.

Acceptance criteria

It is possible to redirect user directly into a registration page inside keycloak

Additional Information

Maybe this is already possible but I didn't find anything about it in the documentation

@p53
Copy link

p53 commented Dec 21, 2024

Hi thank you for opening issue! This is not yet possible in gogatekeeper, I think it might be useful feature

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

2 participants