Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endpoint to revoke a user token #96

Open
Samy-33 opened this issue Jun 27, 2022 · 1 comment
Open

Endpoint to revoke a user token #96

Samy-33 opened this issue Jun 27, 2022 · 1 comment
Labels
API to label task requiring changes in API

Comments

@Samy-33
Copy link
Member

Samy-33 commented Jun 27, 2022

We need to have an endpoint to revoke a token when user logs out.

Endpoint would be /api/token:revoke.

For this issue to close, following conditions should meet:

  • An API which revokes the token for a user (delete the token from db)
  • Tests for this API.
@Samy-33 Samy-33 added the API to label task requiring changes in API label Jun 27, 2022
@Samy-33
Copy link
Member Author

Samy-33 commented Jun 28, 2022

Blocked by #97

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API to label task requiring changes in API
Projects
Status: Blocked
Development

No branches or pull requests

1 participant