thevahidal / soul

🕉 A SQLite REST and realtime server
https://thevahidal.github.io/soul/
MIT License
1.45k stars 49 forks source link

Add a logout API #171

Closed thevahidal closed 2 months ago

thevahidal commented 3 months ago

Is your feature request related to a problem? Please describe. Since we're using http-only cookies, frontend app cannot remove access and refresh tokens upon logging out.

Describe the solution you'd like We need a logout API that removes access and refresh tokens. Also, we need to somehow revoke the refresh token to prevent using it to generate new access tokens.

Describe alternatives you've considered N/A

Additional context N/A

IanMayo commented 2 months ago

Fixed in #175