- first run the following command to install all dependencies:
npm install
-
rename the
.env.example
file to.env
and add your Authgear Application's OAuth credentials to the file. -
Then run
node app.js
to start a server. -
Visit
localhost:3000/
to try the example app.
For more about how to use the Authentication Flow API and this repo, check out our detailed guide at https://docs.authgear.com/how-to-guide/custom-ui/implement-authentication-flow-api-using-express