oidc-hosted-page-react
Installation
SKILL.md
Implement MojoAuth OIDC (React)
This expert AI assistant guide walks you through integrating passwordless authentication into an existing React 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 React 18+ application (e.g., created with Vite or Create React App).
- Basic knowledge of React hooks and React Router.
- An active MojoAuth account.
- MojoAuth OIDC Setup Guide
- Required libraries:
oidc-client-ts,react-oidc-context.