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
Hi. I don't understant how i can return user to original url. Example i open /profile, then in navbar press login -> redirect to identity -> authentificate -> redirect to localhost:3000/signin-oidc? + parameters. Why not redirect to original page /profile? How i can fix it. I can redirect to start page localhost:3000 if i add onSignIn: async (user: any) => { console.log(user); window.location.replace(window.location.origin); },
My settings:
Hi. I don't understant how i can return user to original url. Example i open /profile, then in navbar press login -> redirect to identity -> authentificate -> redirect to localhost:3000/signin-oidc? + parameters. Why not redirect to original page /profile? How i can fix it. I can redirect to start page localhost:3000 if i add
onSignIn: async (user: any) => { console.log(user); window.location.replace(window.location.origin); },
My settings:
<Menu.Item position={"right"} onClick={() => auth.signIn()} name={"Login"} />
Thank you!
The text was updated successfully, but these errors were encountered: