Skip to content

Refresh token setting/management command documentation not clearΒ #522

Open
@clintonb

Description

@clintonb

The documentation around cleartokens command and the REFRESH_TOKEN_EXPIRE_SECONDS setting needs clarification.

The management command documentation mentions a default 1 day delay that is not actually in the codebase. This documentation should clearly state that the REFRESH_TOKEN_EXPIRE_SECONDS setting must be set in order to actually remove expired tokens. Additionally, the management command should alert the user if no tokens will be deleted due to the setting not being set.

The documentation for the REFRESH_TOKEN_EXPIRE_SECONDS setting should also state that the value is required to clear tokens. No emphasis is given to this, so it is too easy to miss this fact. It would also be ideal if a reasonable default were set rather than issuing refresh tokens with unlimited lifetimes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions