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.
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=httpwhen calling the IdPs/authorizeendpoint.One solution would be to modify the
url_fors insrc/auth_playground/oauth.pyto set_scheme="https". A potential other alternative would be to use the ProxyFix middleware.