Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(link-adapter): allow configuration of magic link expiry #3671

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omikader
Copy link
Contributor

This PR makes it so that users can configure how long they want the magic link to be valid for, in minutes. Right now the default value is 10, which is preserved if a value is not explicitly provided going forward.

Resolves this issue raised in the Discord

Copy link

changeset-bot bot commented Feb 14, 2024

🦋 Changeset detected

Latest commit: 974699d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
sst Patch
@sst/console Patch
create-sst Patch
astro-sst Patch
svelte-kit-sst Patch
solid-start-sst Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jayair
Copy link
Contributor

jayair commented Feb 15, 2024

Thanks!

@jayair
Copy link
Contributor

jayair commented Feb 15, 2024

Taking a look.

@omikader
Copy link
Contributor Author

@jayair thanks!

One thing I thought about doing was changing it to accept an SST duration, e.g. "10 minutes" or "2 days" but I didn't want to bring in CDK dependencies into the node modules, even though they're technically available.

Lemme know what you or Dax prefer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants