simplebank icon indicating copy to clipboard operation
simplebank copied to clipboard

How should the logic for logging out be implemented

Open bytegolang opened this issue 3 years ago • 1 comments

hi:How should the logic for logging out be implemented

bytegolang avatar May 20 '22 06:05 bytegolang

Hi bytegolang, To log out, you can simply delete or block the session, so the client can no longer use the refresh token (of that session) to issue new access tokens.

techschool avatar Jul 06 '22 19:07 techschool

@techschool, won't the access token still be usable however (even though for a short time) ??

wizlif avatar Dec 04 '22 02:12 wizlif