Add Custom Auth react example - #6957
Draft
vitorfigmgs wants to merge 6 commits into
Draft
Conversation
vitorfigmgs
marked this pull request as draft
July 30, 2026 20:32
vitorfigmgs
force-pushed
the
feat/add-custom-auth-react-example
branch
from
July 30, 2026 21:13
619bf48 to
459da6d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This example relies on two pending PRs. It should not be merged until these are approved and released:
Open Auth Custom UI
SST CustomAuth Component
Overview
This PR adds a complete working example at
examples/aws-auth-custom-react-ui.It demonstrates how to build, deploy, and link a fully customizable React authentication UI using OpenAuth and the new
sst.aws.CustomAuthcomponent.Usage Instructions
Follow these steps to run and test the example locally:
1. Compile the SST project
2. Navigate to the example directory
cd examples/aws-auth-custom-react-ui3. Install dependencies
4. Run the dev server
5. Test the Auth Flow
Explore the custom auth pages in your browser. You can create an account, sign in, and test the forgot password page to see the custom UI in action.
6. Deploy to a homolog environment