Skip to content

Basic auth #19

@olivermt

Description

@olivermt

Hi,

Would you accept a PR that adds basic auth as a config flag with a "username:password" as config?
I am replacing big complex cloudflare worker/pages and using this app to host the SPA parts.
We have basic auth configured in the global proxy worker currently, but I can easily add that in the various api endpoints, but then not for the frontend.

It feels a little bit backward to implement basic auth in the SPA layer itself, so wondering if that is a sensible addition to spa-to-http instead.

Lmk what you think and I'll submit a PR if you like the idea!

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