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

Auto redirect to /login after success login #2

Open
inakibs opened this issue Nov 22, 2023 · 1 comment
Open

Auto redirect to /login after success login #2

inakibs opened this issue Nov 22, 2023 · 1 comment

Comments

@inakibs
Copy link

inakibs commented Nov 22, 2023

Hi. i am currently implementing your solution for authentication via MSAL in an application with Nuxt 3 and although when the authentication is successful it redirects me to the REDIRECT_URI (http:https://localhost:3000) but it does so with a series of arguments type: URL http:https://localhost:3000**/#code=0.ASAAq9jjW8j-OUG-QuT6QhZNsRP8fq0fpvFNlvV8FFtdqo8FAKM.AgABAAIAAAAmoFfGtYxvRrNriQdPKIZ-AgDs_wUA9P802pdWzqNjp4meTcuufj0TNrfm7CRTS-9ijUKrdoIQDHSVTbUqwtMIQLECOaC-koJ22j_XAC2HdgZFoWEXSALPFCjs6MssnA_i_mv0z3n... which causes the web to redirect to /login without going through middleware.

Can you know why this may be running?
Thanks in advance

@Akash52
Copy link
Owner

Akash52 commented Dec 1, 2023

can you share

Hi. i am currently implementing your solution for authentication via MSAL in an application with Nuxt 3 and although when the authentication is successful it redirects me to the REDIRECT_URI (http:https://localhost:3000) but it does so with a series of arguments type: URL http:https://localhost:3000**/#code=0.ASAAq9jjW8j-OUG-QuT6QhZNsRP8fq0fpvFNlvV8FFtdqo8FAKM.AgABAAIAAAAmoFfGtYxvRrNriQdPKIZ-AgDs_wUA9P802pdWzqNjp4meTcuufj0TNrfm7CRTS-9ijUKrdoIQDHSVTbUqwtMIQLECOaC-koJ22j_XAC2HdgZFoWEXSALPFCjs6MssnA_i_mv0z3n... which causes the web to redirect to /login without going through middleware.

Can you know why this may be running? Thanks in advance

Hello , can you share the video or a code link for the issue you are facing issue ?

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

2 participants