Skip to content

Conversation

@dvinubius
Copy link

@dvinubius dvinubius commented Jan 30, 2023

After a logout, making a token refresh attempt without this change would make the execution reach the auth service. That one will attempt to verify whether the RT from the headers and the RT hash in the DB match. But the RT hash from the DB was deleted on logout => 500 error

After a logout, making a token refresh attempt without this change means the execution reach the auth service. That one will attempt to verify whether the RT from the headers and the RT hash in the DB match. But the RT hash from the DB was deleted on logout => 500 error
@saurabhtalele
Copy link

saurabhtalele commented Jun 27, 2023

ERROR [ExceptionsHandler] Cannot read properties of undefined (reading 'sub')
how to handle it sir
Thanks for this

@romelgomez
Copy link

romelgomez commented Jan 16, 2024

@saurabhtalele

Screenshot 2024-01-16 at 12 02 30 PM

add @UseGuards(AtGuard) so the guard read the access_token.

Screenshot 2024-01-16 at 12 03 19 PM

in the video you will see he is calling the guard by is tag

Screenshot 2024-01-16 at 12 09 05 PM

Screenshot 2024-01-16 at 12 10 27 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants