puiterwijk/flask-oidc

bug: oidc.logout

hu4ever opened this issue · 1 comments

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')

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