Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Nestjs + Auth0

NotificationsYou must be signed in to change notification settings

cdiaz/nestjs-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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=myAppPort

Once you've set those 3 environment variables, just runnpm start and try callinghttp://localhost:3000/

About

Nestjs + Auth0

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp