Open jermay opened 2 years ago
Having problems with CORS errors when calling the login endpoint.
When it's called from the frontend a CORS error results on the redirect to the unstoppable authentication endpoint.
Preflight missing allow origin header
When I call the endpoint directly it responds with a 405 (Method Not Allowed). After some googling this may be because the preflight check uses the OPTIONS method and the redirect url https://auth.unstoppabledomains.com/oauth2/auth
only allows GET
and HEAD
:
Update: I discovered yesterday the @uauth/examples/server
project produces the same error. So either there's a bug in the UD server endpoint or I'm still doing something wrong 🤔
Add support for login via Unstoppable Domain