Cross-Lab-Project / crosslab

https://Cross-Lab-Project.github.io/crosslab/
3 stars 4 forks source link

Logout needs Token? #30

Open jonau opened 1 year ago

jonau commented 1 year ago

https://github.com/Cross-Lab-Project/crosslab/blob/b5586a13dc1c3769fed595049273a99487a9b60c/services/auth/api/resources/logout.yml#L12

Why does the logout endpoint needs the authToken in the body?

lassertos commented 1 year ago

My Idea was that maybe a user just wants to logout on one of his devices he could specify the device this way. Another way could be to maybe attach some information to the jwt linking it to its corresponding authToken.