Skip to content

JWTAuth::parseToken()->authenticate(); #2290

@Cofa12

Description

@Cofa12

There is a security issue with that function , it use the sun which is usually id . but think about that approach , If I authenticated and get the id 1 and make a process depends on JWT token then I deleted the DB when I authenticated again the JWT SUB will take the id 1 . so the previous one is valid .
How ??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions