SEQN Auth Examples
Runnable examples live under examples/seqn-auth-*.
examples/
seqn-auth-react/
seqn-auth-next/
seqn-auth-express/
seqn-auth-hosted-ui/
Each example uses file:../../packages/seqn-auth-js so it can run against the local SDK package before publication.
React
examples/seqn-auth-react shows:
createSeqnAuthReact(React).SeqnAuthProvider.- Hosted sign-in and sign-up links.
- Public config loading with a publishable key.
Next.js
examples/seqn-auth-next shows:
- server-component usage.
- route-handler backend key health.
- safe
NEXT_PUBLIC_env names.
Express
examples/seqn-auth-express shows:
- hosted redirect handlers.
loadPublicConfigmiddleware.- backend key health route.
Hosted UI
examples/seqn-auth-hosted-ui shows the lowest-code option: link directly to SEQN-hosted sign-in, sign-up, account, organization, and console pages.