Skip to content

Refresh token and access token share same lifetime #955

@ayZagen

Description

@ayZagen

What is the current behavior?
When ACCESS_TOKEN_LIFESPAN environment variable set it affects refresh tokens too.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

  • Set ACCESS_TOKEN_LIFESPAN to a value that you will wait for and start hydra.
  • Get a refresh token
  • Introspect it after ACCESS_TOKEN_LIFESPAN expires
  • Result should be { active: false }

What is the expected behavior?
Refresh token lifespan config should be seperate

Which version of the software is affected?
Master branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions