Skip to content

Instantly share code, notes, and snippets.

View ctf0's full-sized avatar
πŸ™‡β€β™‚οΈ

Muah ctf0

πŸ™‡β€β™‚οΈ
View GitHub Profile

this is how we can use jwt token & jwt token refresh to auth api calls.

  • first we have to use user username which is the default for both packages or it wont work, i couldnt find away to get it to work with email, specialy lexik/jwt-authentication-bundle

  • second we intercept requests to check if the jwt token has expired & if so we recreate new tokens and update request & response headers.