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

/auth prefix was removed in keycloak v17.0.1 #75

Open
liorpid opened this issue Apr 6, 2022 · 4 comments
Open

/auth prefix was removed in keycloak v17.0.1 #75

liorpid opened this issue Apr 6, 2022 · 4 comments

Comments

@liorpid
Copy link

liorpid commented Apr 6, 2022

Hi,

is it possible to remove the /auth prefix from the base url?

@psavva
Copy link

psavva commented Jul 30, 2022

I'm upgrading to Keycloak 18 as well.

Change needed here:

.AppendPathSegment("/auth")

We could implement a conditional statement that will append or not append the "/auth" with a default value to append as not to break any current implementations when they upgrade.

For new implementations we can set a flag like appendAuthPath to true/false that will append the auth part or not..

@lvermeulen you ok with this, I'll have a PR out to you on Monday if you agree.

@psavva
Copy link

psavva commented Aug 2, 2022

Removal of the /auth is done via this PR, Also upgrading .net libraries, removed support for .net classic
Please see Pull Request #79

@mferuglio
Copy link

Hi,
For information, you can use KC_HTTP_RELATIVE_PATH = "/auth" (or cli cmd : --http-relative-path) to avoid this modification.
https://www.keycloak.org/server/all-config?q=http-relative-path

Best regards.

@psavva
Copy link

psavva commented Oct 10, 2022

Hi, For information, you can use KC_HTTP_RELATIVE_PATH = "/auth" (or cli cmd : --http-relative-path) to avoid this modification. https://www.keycloak.org/server/all-config?q=http-relative-path

Best regards.

This has now been made configurable

Please see: fde9afa

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

3 participants