Skip to content

Add support for running behind a reverse proxy #4

Description

@bheesham

I deployed this behind a load balancer, configured with TLS, etc, etc. An issue I found when logging in was the app specifies the wrong scheme in the redirect_uri=http when calling the IdPs /authorize endpoint.

One solution would be to modify the url_fors in src/auth_playground/oauth.py to set _scheme="https". A potential other alternative would be to use the ProxyFix middleware.

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