CORS pre-flight issues with /authorize endpoint requests

Problem statement

We received the CORS errors when going to /authorize endpoint.

Symptoms

Received 404 OPTIONS in the HAR file.

Cause

The /authorize endpoint does not support CORS so can’t be redirected from Javascript.

Solution

Please start the login flow with /authorize without a 302 redirection.

1 Like