t
#5538
Replies: 1 comment 2 replies
|
If you want to avoid the full OIDC redirection flow (Sign in with Authgear), you are likely looking for the Custom UI approach using the @authgear/web SDK. For Next.js App Router (SSR), using OIDC/cookies is usually the most secure and standard way (via @authgear/nextjs). If you strictly want a custom login form inside your Next.js app calling your NestJS backend (or Authgear directly), check the Authentication via API docs (if enabled on your plan). However, the React SPA guide you linked mostly assumes client-side auth. For Next.js + NestJS, the standard OIDC flow is typically recommended for security unless you have a specific reason to avoid redirects. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
All reactions