p2-inc / keycloak-magic-link

Magic Link Authentication for Keycloak
https://phasetwo.io
Other
222 stars 44 forks source link

New rest API link for version 20.0.2 #17

Closed ziad696 closed 1 year ago

ziad696 commented 1 year ago

POST https://keycloak.host/auth/realms/test/magic-link
is return 404 in keycloak version 20.0.2

xgp commented 1 year ago

After Keycloak 18, your REST URLs are relative to the KC_HTTP_RELATIVE_PATH variable, which defaults to empty. I'm assuming in the docs, that you are setting it to /auth for backwards compatibility. If you are using the new default, your URL would be https://keycloak.host/realms/test/magic-link.