This is an example demonstrating how to use the mlauth-js package to authenticate users with mlAuth in a back-end ExpressJs environment.
Add a .env file containing the client and secret keys from your mlAuth app
VITE_MLAUTH_CLIENT=mlauth-app-client-key
VITE_MLAUTH_SECRET=mlauth-app-secret-key
EMAIL=some-email-address
PORT=5000
#npm
npm run install
#pnpm
pnpm install
# npm
npm run dev
# pnpm
pnpm dev