Example authenticated script

April 18, 2025 ยท View on GitHub

To run this example:

  • Copy .env.example into .env.local
  • Edit .env.local so that it contains clients credentials registered at the appropriate OpenID Provider.
  • Run node --env-file=.env.local index.mjs