Auth H3 Client
@riavzon/auth-h3client is a gateway authentication module for Nuxt and Nitro applications. It sits between the browser and the IAM service and handles every authentication operation that belongs in the server layer of your frontend: session hydration, access token rotation, CSRF enforcement, OAuth code exchange, magic link handling, bot detection, API token verification, and inter-service request signing.
Its the Backend for frontend for the IAM service service.
The module ships pre-built H3 controllers for authentication flows, MFA flows, API token inventory routes, and an OAuth client to connect to various providers. It also exports event handler wrappers for API token verification and management. Every controller proxies to the IAM service over an authenticated connection with optional mTLS and HMAC request signing.
Both H3 v1 and H3 v2 are supported and ship the same controller and utility surface.