samples-python-flask
samples-python-flask copied to clipboard
Using redirect_uri from configuration instead of request.base_url
Can we just use the redirect_uri from config in this line instead of getting it from request object? A bug in request library that returns the URL with http:// regardless of the original URL is http or https causing an issue in sample app.
https://github.com/okta/samples-python-flask/blob/44387a1a5449988f9d4ab95cf428ef88237f2d3e/okta-hosted-login/main.py#L71
Ditto, I've encountered same issue. I ended up passing url from config file