Repository navigation
Rebuild oidc-spa tutorial starter on Vite and React 19 - #31
Closed
Wictorgirardi wants to merge 2 commits into
Closed
Wictorgirardi wants to merge 2 commits into
Wictorgirardi wants to merge 2 commits into
Conversation
This was referenced Sep 24, 2026
Contributor
Author
|
Combined into #44 with the other SPA examples. The changes are the same; only the commit SHAs differ. |
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.
Depends on #28: this branch includes its commit, so review the last commit only until #28 is merged. It pairs with #30 (oidc-spa example).
Summary
The blog post Securing Keycloak with OIDC SPA and Phase Two links here as its starting point.
.envalready pointing at the demo realm. It used to be a CRA copy.src/Auth.tsx: a clear placeholder. Before, it was a stub that wasn't even exported.pnpm add oidc-spa zod, thensrc/oidc.ts;OidcInitializationGate;Auth.tsxcomponent.Test plan
pnpm install --frozen-lockfile && pnpm typecheck && pnpm lint && pnpm buildpass on Node 24.diff -ragainst Migrate React oidc-spa example to Vite, React 19 and oidc-spa 10 #30 shows only the auth files,vercel.json, dependencies and titles.