wim
wim8mo ago

cors on localhost

I have the feeling I'm missing something stupid or this question has been answered but I can't seem to find the answer... Use-case: A simple web application using plain Html/JS/CSS Environment: Local dev env (localhost) Version: v2.66.1 Stack: Docker, Html/JS/CSS What you expected to happen: No CORS errors What went wrong: Access to fetch at 'http://localhost:7003/ui/login/login?authRequestID=308439750061064195' (redirected from 'http://localhost:7003/oauth/v2/authorize?client_id=308439685552734211&redirect_uri=http%3A%2F%2Flocalhost%3A63344%2Ffrontend%2Fsrc%2Findex.html&scope=openid&response_type=code') from origin 'http://localhost:63344' 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. Attachments:
No description
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?