Redirect to external site in a plugin?

hi @pfaffman

Any luck with this situation? I am having same issue using the Discourse SSO login from asp.net core web API.

The Angular app browser is throwing the ‘accept control header’ not present error once the request is redirected from API to angular app (after discourse sent the reply back successfully).

Angular web app → asp.net API-> API calls discourse SSO->Discourse returns values to asp.net server API-> API server redirects call back to angular app URL->Browser throws error that discourse URL is not accessible due to ‘Access control origin header’ not present.

image

All CORS settings on discourse are set up correctly and on the asp net API web server.

It sounds similar to the problem you faced earlier. I am hoping that you can shed some light on how to solve it.