abacritt / angularx-social-login

Social login and authentication module for Angular 17
636 stars 387 forks source link

Access to XMLHttpRequest at 'https://www.googleapis.com/calendar/v3/calendars/primary/events' from origin 'http://localhost:4200' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. #687

Closed Aventrue closed 1 year ago

Aventrue commented 1 year ago

I get a cors error when I call https://www.googleapis.com/calendar/v3/calendars/primary/events . I get the token without problems but querying the events give me the cors error. When I query the events over postman with the token I get from angularx-social-login everything works fine. How can I solve this issue? image

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.