CORS policy blocking redirct due to origin 'null'


#1

I’m trying to implement logout functionality but getting the following error.

Access to fetch at ‘https://dev-401659.oktapreview.com/login/login.htm’ (redirected from ‘http://127.0.0.1:8000/logout/v1’) from origin ‘null’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. If an opaque response serves your needs, set the request’s mode to ‘no-cors’ to fetch the resource with CORS disabled.