Add another redirect mode for AJAX request #1321
Closed
EdouardPauw
started this conversation in
Ideas
Replies: 1 comment 5 replies
-
|
Please see the docs for provider.interactionResult |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm trying to build a front in SPA mode and connect it with an already build oidc server.
When an interaction starts, a form is displayed to the user. I POST the request with an AJAX call in order to be able to make a Client side redirection. The issue is that the response resolve with a cors error. I have added the Access-Control-Allow-Origin and everything else but the final redirection is blocked.
From what I understand it is because the response is sent with the res.redirect function.
Do you think it is possible to add another way to deliver the redirect url to the front end for AJAX calls ? Or is done like this for a specific reason ? Finally have I a way to use SPA front or is it not recommended ?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions