Skip to content

zoey-kaiser/nuxt-auth-starters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NuxtAuth Starters

This repository contains a collection of @sidebase/nuxt-auth starters that cover several use cases for NuxtAuth. You can use one of these templates as a starting point for your application, or to create a reproduction of an issue that you are currently encountering.

Overview

This repository current contains the following starters:

Local starter

The local starter contains a basic @sidebase/nuxt-auth starter with the local provider setup. local is best when you already have a backend that accepts username + password as a login or want to build a static application. You can read more about the local provider here.

This starter connects to a mocked Nuxt server api that handles: signIn, signOut and getSession.

View the starter here.

AuthJS starter (with GitHub)

The authjs-github starter contains a basic @sidebase/nuxt-auth starter with the authjs provider setup with a GitHub OAuth provider, preconfigured. authjs is best suited for plug-and-play OAuth for established oauth-providers or magic-url based sign-ins. You can read more about the authjs provider here.

View the starter here.

Contributing

If you would like to add another starter, please first open an issue, where you either share the idea for the starter, if it does not exist yet, or link to a public repository containing the starter. After agreeing on the implementation of the starter, you can open a new pull request to add it.

Contributions that update any package versions of the starters are always appreciated!