puiterwijk / flask-oidc

OpenID Connect support for Flask
BSD 2-Clause "Simplified" License
154 stars 217 forks source link

2.0.0 now requires userinfo_uri #160

Closed willthetanman closed 1 year ago

willthetanman commented 1 year ago

This was not the case in 1.4.0 and is causing issues


    from app import app  # noqa: F401
  File "/usr/src/app/app/__init__.py", line 32, in <module>
    oidc = OpenIDConnect(app)
  File "/usr/local/lib/python3.10/dist-packages/flask_oidc/__init__.py", line 111, in __init__
    self.init_app(app, prefix=prefix)
  File "/usr/local/lib/python3.10/dist-packages/flask_oidc/__init__.py", line 136, in init_app
    app.config.setdefault("OIDC_USERINFO_URL", self.client_secrets["userinfo_uri"])
KeyError: 'userinfo_uri'
abompard commented 1 year ago

Thanks for the report! Version 2.0.1 should fix that, it's been published just now.