Skip to content

fix(auth): allow configuration of AuthSessionValidity#14818

Open
adambartholomew wants to merge 3 commits into
aws-amplify:mainfrom
adambartholomew:auth/feat-issue-14817
Open

fix(auth): allow configuration of AuthSessionValidity#14818
adambartholomew wants to merge 3 commits into
aws-amplify:mainfrom
adambartholomew:auth/feat-issue-14817

Conversation

@adambartholomew
Copy link
Copy Markdown

Description of changes

Add configuration to allow frontend session state expirations to match the backend AuthSessionValidity (3-15 minutes)

Issue #, if available

#14817

Description of how you validated changes

  • Ran test suite
  • Built @aws-amplify/auth @aws-amplify/core
  • Created yarn links in fork
  • Linked into integrating project
  • Started a SignUp flow
  • Waited 6 minutes after receiving email
  • ConfirmSignup allowed autoSignIn to proceed

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 14, 2026

⚠️ No Changeset found

Latest commit: 27d7cb9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@osama-rizk
Copy link
Copy Markdown
Contributor

Hey @adambartholomew 👋

Thanks for opening this PR and for taking the time to contribute! We appreciate you flagging the AuthSessionValidity configuration gap. We'll review the changes and provide feedback soon.

@osama-rizk osama-rizk added feature-request Request a new feature Auth Related to Auth components/category labels May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Auth Related to Auth components/category feature-request Request a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants