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

Ignore token not having the getCredentials() method during decode #1244

Open
wants to merge 2 commits into
base: 3.x
Choose a base branch
from

Commits on Nov 2, 2024

  1. Ignore token not having the getCredentials() method during decode

    The TokenInterface doesn't have a getCredentials() method anymore since
    Symfony 6. Beside, some tokens, such as TestBrowserToken returns null.
    
    Decoding a jwt token is only meaningful when the token is a
    JWTPostAuthenticationToken. Any other token can be ignored.
    fmarchalemisys committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    492d1da View commit details
    Browse the repository at this point in the history
  2. Add unit tests.

    fmarchalemisys committed Nov 2, 2024
    Configuration menu
    Copy the full SHA
    1a09a46 View commit details
    Browse the repository at this point in the history