Skip to content

Cross-origin requests blocked in Puppeteer 8 + Chrome #26

@lukaszfiszer

Description

@lukaszfiszer

Sample log (with debug:true and dumpio: true. The request to /auth/oauth/token is not replied correctly

[2021-04-16T10:15:22.133Z] 2021-04-16T10:15:21.098Z mockiavelli:main > req: type=other method=OPTIONS url=https://example.com/auth/oauth/token 
[2021-04-16T10:15:22.133Z] [0416/101521.106580:INFO:CONSOLE(0)] "Access to XMLHttpRequest at 'https://example.com/auth/oauth/token' from origin 'http://localhost:9000' 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.", source: http://localhost:9000/ (0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions