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 an Angular SPA and it's wired to receive 401 and send the user to the login page within the application. Problem is that now it gets a redirect to KeyCloak, Angular's http client attempts to follow it and I hit the Cross-Origin request problem. Is there some way to make flask-oidc return a 401 status when it checks for login instead of sending a redirect?
The text was updated successfully, but these errors were encountered:
mlmarius
changed the title
make flask-oidc return 401 instead of redirect
return 401 instead of redirect
Nov 24, 2020
mlmarius
changed the title
return 401 instead of redirect
need 401 instead of redirect
Nov 24, 2020
I have an Angular SPA and it's wired to receive 401 and send the user to the login page within the application. Problem is that now it gets a redirect to KeyCloak, Angular's http client attempts to follow it and I hit the Cross-Origin request problem. Is there some way to make flask-oidc return a 401 status when it checks for login instead of sending a redirect?
The text was updated successfully, but these errors were encountered: