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).

2. Implementation Steps

Step 1: Configure Application in MojoAuth

Installs
3
Repository
mojoauth/skills
First Seen
Feb 26, 2026
oidc-hosted-page-nextjs — mojoauth/skills