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

Endpoint login has change without /auth #341

Closed
panjisadewo opened this issue Feb 24, 2022 · 8 comments · Fixed by #361
Closed

Endpoint login has change without /auth #341

panjisadewo opened this issue Feb 24, 2022 · 8 comments · Fixed by #361
Labels
bug Something isn't working

Comments

@panjisadewo
Copy link

Describe the bug
Endpoint login has change

Hi Nerzal i found a bug keycloack 17 endpoint login is change

Regards
Thanks

@gdalfovo
Copy link

I confirmed

@d-kononov
Copy link

As a quick fix use: gocloak.NewClient("some-base-path", gocloak.SetAuthRealms("realms"), gocloak.SetAuthAdminRealms("admin/realms"))

@Nerzal
Copy link
Owner

Nerzal commented Mar 17, 2022

Hi everyone, what exactly has changed?
We might need to introduce some kind of version switch, if keycloak changed the URLs

@d-kononov
Copy link

Default path for v16 is /auth/...
Default path for v17 is /...

@Nerzal Nerzal added the bug Something isn't working label Mar 17, 2022
@mello-r
Copy link

mello-r commented Mar 21, 2022

I think it would be a good idea to use the .well-known endpoint of Keycloak to get endpoints where it is possible, so if there are further changes to the path, gocloak is not affected

@bovinemagnet
Copy link

Doesn't the change only affect Keycloak 17 running on Quarkus ? (which is now the default distribution)

But if you are still running on WildFly, then the auth path still remains ?

@Nerzal
Copy link
Owner

Nerzal commented Mar 24, 2022

I think it would be a good idea to use the .well-known endpoint of Keycloak to get endpoints where it is possible, so if there are further changes to the path, gocloak is not affected

Yes! This is a good solution

@mbecker
Copy link

mbecker commented Apr 4, 2022

Hi,

in the meantime set as described above the endpoint's paths as follows: #346 (comment)

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

Successfully merging a pull request may close this issue.

7 participants