Example authenticated script
April 18, 2025 ยท View on GitHub
To run this example:
- Copy
.env.exampleinto.env.local - Edit
.env.localso that it contains clients credentials registered at the appropriate OpenID Provider. - Run
node --env-file=.env.local index.mjs