Skip to content

VulcanWM/next-auth-redirect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NextAuth Redirect

This is a template with Next Auth, which automatically redirects a user to /dashboard if they are logged in, and to / if they are not.


You need to add a few environment variables for this to work:

  • NEXTAUTH_URL: The url of your website
  • NEXTAUTH_SECRET: A random secret to keep your website safe
  • GITHUB_ID: The ID of your GitHub OAuth app
  • GITHUB_SECRET: The secret of your GitHub OAuth app

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •