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. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions