zitadel / example-python-django-oidc

Example Python Django OIDC Web
https://zitadel.com
Apache License 2.0
7 stars 1 forks source link

Can't we use OIDC discovery? #5

Closed muhlemmer closed 9 months ago

muhlemmer commented 9 months ago

Currently OP endpoints are hard-coded:

https://github.com/zitadel/example-python-django-oidc/blob/cfa9934853da00cd011019fb0c0b31ca3a15371e/mysite/settings.py#L136-L139

Can't we use a single discovery endpoint instead and let the app figure it out from there?

stebenz commented 9 months ago

found this solution https://github.com/mozilla/mozilla-django-oidc/issues/414 it's no supported directly, but at least the .well-known is used