I am getting CORS error when i try to log in through OKTA in my application. All was working fine but today suddenly it stopped working.
Access to XMLHttpRequest at ‘https://dev-904995.oktapreview.com/oauth2/default/v1/keys’ from origin ‘http://localhost:4200’ has been blocked by CORS policy: Response to preflight request doesn’t pass access control check: The value of the ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’ when the request’s credentials mode is ‘include’. The credentials mode of requests initiated by the XMLHttpRequest is controlled by the withCredentials attribute.
can anyone please guide me how to fix this? as i am using okta 1.0.3 version.