I have successfully deployed a simple python flask app that uses Flask-OIDC to authenticate to our orgs okta server. Everything works perfectly when the redirect_uri is http like this:
If I try and switch it to https like this:
it does not work and I get a 400 response:
Description: The ‘redirect_uri’ parameter must be a Login redirect URI in the client app settings: https://[ommitted].okta.com/admin/app/oidc_client/instance/0oa1kcgem6f9vTsOn0h8#tab-general
I have https in my client_secrets.json and also in my application config in my orgs okta server. I noticed this is the url that is sent to my orgs okta server from my client:
I noticed “http%3A%2F%2Fstizzle2”. Shouldnt it be sending “https%3A%2F%2Fstizzle2”?
Any ideas on why it works via http, but doesnt work via https?