oidc-hosted-page-nextjs
Installation
SKILL.md
Implement MojoAuth OIDC (Next.js)
This expert AI assistant guide walks you through integrating passwordless authentication into a Next.js application using MojoAuth's Hosted Login Page as an OIDC identity provider. MojoAuth handles all authentication methods (Magic Links, Email OTP, SMS OTP, Social Login, Passkeys) through its hosted page — your app simply redirects there and handles the callback.
1. Prerequisites
- An existing Next.js application (App Router).
- Basic knowledge of Next.js and its common tools.
- An active MojoAuth account.
- MojoAuth OIDC Setup Guide
- Required library:
openid-client(standard for Node.js OIDC integration).