- Notifications
You must be signed in to change notification settings - Fork13
cdiaz/nestjs-auth0
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This is the seed project you need to use if you're going to create regularNestJS Framework web application with Auth0.
#Running the exampleIn order to run the example you need to have npm and NodeJS installed.
Now, runnpm install to install the dependencies.
You also need to set the ClientSecret, ClientId and Domain for yourAuth0 app as environment variables with the following names respectively:AUTH0_CLIENT_SECRET,AUTH0_CLIENT_ID ,AUTH0_DOMAIN andAUTH0_CALLBACK_URL .
For that, if you just create a file named.env in the directory and set the values like the following, the app will just work:
# .env fileAUTH0_CLIENT_SECRET=myCoolSecretAUTH0_CLIENT_ID=myCoolClientIdAUTH0_DOMAIN=myCoolDomainAUTH0_CALLBACK_URL=myCallbackUrlPORT=myAppPortOnce you've set those 3 environment variables, just runnpm start and try callinghttp://localhost:3000/
About
Nestjs + Auth0
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors2
Uh oh!
There was an error while loading.Please reload this page.
