Skip to content

[Request]: Create Transfer Tokens with lifespan of 1 day as only option? #3392

Description

@pellyadolfo

Summary

By security reasons we need ability to create Transfer Tokens for 1 day, and forbid any other lifespan options. Is possible to customize lifespans for Transfer Tokens? (current options are 7 / 30/ 90 days and unlimited but they are hardcoded).

Why is it needed?

Security reasons

Suggested solution(s)

export or externalize TRANSFER_TOKEN_LIFESPANS on https://github.com/strapi/strapi/blob/develop/packages/core/admin/server/src/services/constants.ts#L52 so we can configure our values

Related issue(s)/PR(s)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions