soofstad / react-oauth2-pkce

Provider agnostic OAuth2 Authorization Code flow with PKCE for React
MIT License
125 stars 53 forks source link

💡 [Feature] - `postLogout`-callback #157

Closed soofstad closed 3 months ago

soofstad commented 6 months ago

Summary

Allow for defining a function that runs after the user logout, but before redirect.

Basic Example

nil

Drawbacks

nil

Unresolved questions

No response

Implementation PR

No response

Reference Issues

156

github-actions[bot] commented 4 months ago

Stale issue message

soofstad commented 3 months ago

I'm not convinced we actually need this "postLogout". Since it's never called automatically, the app developer can always run some custom code before calling the "logOut" function them self.