You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered several issues when implementing basePath, but unfortunately, the core auth developers only respond by sending irrelevant example links.
If basePath does indeed work, try setting it to something like basePath /custom, and I can confirm it won't work properly.
In my case, if the issue lies here, authentication succeeds but the redirect always goes to /api/auth/callback/keycloak?... instead of /custom/api/auth/callback/keycloak?....
If I manually change it to 'custom', then it works fine.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have encountered several issues when implementing basePath, but unfortunately, the core auth developers only respond by sending irrelevant example links.
If basePath does indeed work, try setting it to something like basePath /custom, and I can confirm it won't work properly.
In my case, if the issue lies here, authentication succeeds but the redirect always goes to /api/auth/callback/keycloak?... instead of /custom/api/auth/callback/keycloak?....
If I manually change it to 'custom', then it works fine.
Just try it yourself if you don't believe me.
Beta Was this translation helpful? Give feedback.
All reactions