The frontend pages of FreeBSD SSO using Ory SDK.
- Node.js v20
- NPM v10
- Next.js
- Ory Custom UI
Copy and rename .env.example
to .env
.
# .env
KRATOS_API_ENDPOINT="http://localhost:4433"
Install dependencies:
npm install
Run in development mode:
npm run dev
Export static pages:
npm run build
The middleware
src/app/api/.ory/route.ts
can be omitted during the static page build process.