Skip to content

xinnks/mlauth-be-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mlAuth Back-end Example

This is an example demonstrating how to use the mlauth-js package to authenticate users with mlAuth in a back-end ExpressJs environment.

Setup

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

Install dependencies.

#npm
npm run install
#pnpm
pnpm install

Serve.

# npm
npm run dev
# pnpm
pnpm dev

About

Back-end mlAuth integration example with Express

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published