Skip to content

🐛 BUG: Miniflare overwrites the hostname of request when a custom route is defined #8319

Open
@andrewmd5

Description

@andrewmd5

Which Cloudflare product(s) does this pertain to?

Miniflare

What versions are you using?

3.111.0

What operating system and version are you using?

macOS

Please provide a link to a minimal reproduction

No response

Describe the Bug

When a wrangler.toml has a custom route defined, Miniflare seems to sets the hostname of the request to that route, which breaks OAuth implementations that expect it to be the same redirect_uri that was whitelisted.

Please provide any relevant error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting reporter responseNeeds clarification or followup from OPbugSomething that isn't working

    Type

    No type

    Projects

    • Status

      Untriaged

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions