SSO CORS error when performing user re-authentication #1213
Unanswered
PedjaCucak
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I forked your code, and host the app on Azure with Microsofr Identity provider, with implicit flow.
I have notice that when cookie "AppServiceAuthSession" expires (it gets removed from browser) and if I try to generate new answer "/generate" api it will return 302 with redirect routh (Location) as below
https://login.microsoftonline.com/.../authorize?...&state=redir%3D%252Fhistory%252Fgenerate
This api fails with CORS error.
I tried to copy/paste this url to browser tab and delete "&state=redir%3D%252Fhistory%252Fgenerate" url param from it, and then re-login works.
Do anyone know why this redirect url doesn't work, and where it gets created?
Any help is appreciated.
Thank you for your help in advance.
Beta Was this translation helpful? Give feedback.
All reactions