mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(next-api): basic authentication setup (#49378)
* feat(next-api): add fastify-auth0-verify plugin * feat(next-api): add fastify-jwt-authz plugin * feat(next-api): accept privacy endpoint with scopes support * fix(next-api): ignore eslint and ts errors They will be fixed in a future PR when the package with errors has been updated Co-authored-by: Niraj Nandish <nirajnandish@icloud.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
1c9004046b
commit
7199f033fb
@@ -10,6 +10,7 @@ SENTRY_ENVIRONMENT=staging
|
||||
AUTH0_CLIENT_ID=client_id_from_auth0_dashboard
|
||||
AUTH0_CLIENT_SECRET=client_secret_from_auth0_dashboard
|
||||
AUTH0_DOMAIN=example.auth0.com
|
||||
AUTH0_AUDIENCE=sample_audience
|
||||
|
||||
# Session, Cookie and JWT encryption strings
|
||||
SESSION_SECRET=a_session_secret
|
||||
|
||||
Reference in New Issue
Block a user