Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 576 Bytes

auth.md

File metadata and controls

22 lines (14 loc) · 576 Bytes

Authentication

By default, the boilerplate utilizes a sign-in strategy and sign-up via email and password, but you can add more strategies like Google sign-in and others. It also employs an OIDC provider to ensure secure client authentication.

Table of Contents


Getting Started

  1. Generate a secret key
node -e "console.log(require('crypto').randomBytes(256).toString('base64'));"
  1. Go to /.env and change value in AUTH_JWT_SECRET
AUTH_JWT_SECRET=HERE_SECRET_KEY_FROM_STEP_1