puiterwijk / flask-oidc

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

bug: oidc.logout #88

Open hu4ever opened 5 years ago

hu4ever commented 5 years ago

After logout through oidc.logout, there is no restriction on the @oidc.require_login decorator, and it also needs to be redirected to keycloak to achieve logout. return redirect(oidc.client_secrets.get('issuer')+'/protocol/openid-connect/logout?redirect_uri='+request.host_url+'login')

svintit commented 4 years ago

If you want this resolved i'm maintaining a fork of this with some added extensibility. Feel free to open a PR/issue here: