Skip to content

Unauthorized When Sending Production Origin Header #9

@pfbrowning

Description

@pfbrowning

I'm able to use https://thingproxy.freeboard.io/fetch/http://79.111.119.111:9107/7.html successfully via Postman and my web app in the browser while sending http://localhost:4200 as the Origin header.

However, when I set Origin to my production URL (http://radio.browninglogic.com) (both from Postman and from the deployed web app), I get the following:

{
    "this": "failed",
    "with": 401,
    "because": {
        "message": "unauthorized"
    },
    "id": "lKKaSKW3f"
}

Strangely enough, when I clone and run the API locally, it appears to work properly even with the same Origin header that's causing it to fail when using the deployed site (http://thingproxy.freeboard.io/fetch/url).

Can you point me in the right direction? Is there something that I'm missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions