← Back to products
H2O
Powers this site

VyAuth

Drop-in SSO for anything in the VarYar org.

VyAuth is the login this very site uses, which is the whole pitch: instead of every VarYar product rolling its own session handling, they all point at the same identity service. Sign in once on the Ecommerce Console and the CRM, the products site, and any custom app built on top of VarYar infra already know who you are.

Freeopen source · AGPL-3.0
npm install @varyarorg/water-authv0.1.1AGPL-3.0

3

framework adapters shipped

1

session across every VarYar surface

v0.1.1

current release

AGPL-3.0

license

One session, not one per app

A cookie set on login is readable by every VarYar surface on the same domain family, so switching from the console to the CRM to a custom storefront never asks for a password twice.

The h2o CLI does the boring part

Local development normally means manually copying API keys into a .env file. The h2o CLI pulls your dev credentials straight from your VarYar account instead, so a new machine is authenticated in one command.

Adapters for what you're already using

Next.js, Express, and plain React adapters cover most of what VarYar's own products and its customers' custom builds are written in — drop the package in and wire the provided hooks and middleware into your routes.

Inside VyAuth

What’s included

Swipe through on a phone, or scan the grid on a wider screen.

01

Next.js, Express & React adapters

02

h2o CLI pulls dev credentials

03

One SSO session across the org

04

Cookie-based session, no token juggling in the client

05

Same identity layer this products site runs on