jazzband / django-oauth-toolkit

OAuth2 goodies for the Djangonauts!
https://django-oauth-toolkit.readthedocs.io
Other
3.16k stars 794 forks source link

Are there plans for OpenID Connect RP-Initiated Logout support ? #1277

Closed Polaris-d closed 1 year ago

Polaris-d commented 1 year ago

Is your feature request related to a problem? Please describe. When I use the oidc component, I found that there is no implementation of logout and login

Describe the solution you'd like I hope the official can provide support for this endpoint

Describe alternatives you've considered I am currently planning to implement it simply by myself. I should first add the end_session_endpoint information in ConnectDiscoveryInfoView, and then implement a view that deletes all associated user tokens through id_token.

Additional context Here is the relevant spec link on this feature: https://openid.net/specs/openid-connect-rpinitiated-1_0.html

Polaris-d commented 1 year ago

我很高兴的发现,在提出这个问题后的几小时,新发布的版本解决了这个问题:https://github.com/jazzband/django-oauth-toolkit/releases/tag/2.3.0