Following Lucia Getting Started in Express tutorial
Node >=20 required (or see notes about Oslo installation for Node <20 here)
npm install;
Get your Client ID and Client Secret by going to https://recurse.com/settings/apps, and click 'Create OAuth Application'. Use http://localhost:3001/myOauth2RedirectUri
as the Redirect URI.
node --env-file=config.env index.js
OAUTH_CLIENT_ID
& OAUTH_CLIENT_SECRET
are set as Secrets inside the Fly App.
Everytime those are changed on the web dashboard, please run fly deploy
in order to use the updated secret values.