Based on this code, you are enforcing the /authorize endpoint as the callback and forcing users to use the OIDC_OVERWRITE_REDIRECT_URI or OIDC_CALLBACK_ROUTE, is this the expected behavior?
I couldn't find anywhere in the documentation (couldn't even find a good documentation other than for 1.2.0, which is old, and you removed from pip, so we can't use it).
In order to use the redirect_uris set in the secrets file, I had to do something like:
Hi team,
After trying to use the Flask-OIDC lib I'm getting the following behavior.
Even though
redirect_uris
is set underclient_secrets.json
the lib is ignoring it and forcing a/authorize
callback endpoint.Digging a little bit in the library code I ended up here:
Based on this code, you are enforcing the
/authorize
endpoint as the callback and forcing users to use theOIDC_OVERWRITE_REDIRECT_URI
orOIDC_CALLBACK_ROUTE
, is this the expected behavior?I couldn't find anywhere in the documentation (couldn't even find a good documentation other than for 1.2.0, which is old, and you removed from pip, so we can't use it).
In order to use the
redirect_uris
set in the secrets file, I had to do something like:And I'm pretty sure this is not the best way of doing it.