Skip to content

Separate refresh_token #71

@leon0399

Description

@leon0399

Subject of the issue

Refresh token should be different from access_token. It does not only provide security vulnerability, but also a lot of misunderstandments (tymondesigns/jwt-auth#1105, tymondesigns/jwt-auth#2149, tymondesigns/jwt-auth#2116 are one of MANY), event Tymon mentioned this is needed at some point (tymondesigns/jwt-auth#1105 (comment))

Changing this behaviour can be a breaking change, so this feature might be planned for some kind of 2.0 version

Expected behaviour

You have to use different token to refresh your access_token

Actual behaviour

You have to usesame token to authenticate your requests and refresh your existing access_token

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions