Authentication

Learn how to use Supersaas Authentication in your site

Supersaas templates use Nuxt Auth Utils to provide a collection of authentication utilities that you can use in your site. It pairs well with Nuxt 3 and provides a sane and easy-to-use authentication system.

Features

Auth with Sealed Cookies and Session.

Usage

To use the authentication system in your site, you need to set the respective providers in your nuxt.config.ts file and their credentials in the .env file.

nuxt.config.ts
export default defineNuxtConfig({
  runtimeConfig: {
    oauth: {
      <provider>: {
        clientId: process.env.NUXT_OAUTH_<PROVIDER>_CLIENT_ID,
        clientSecret: process.env.NUXT_OAUTH_<PROVIDER>_CLIENT_SECRET,
      }
    }
  }
})

Providers

  • Email / Password
  • Magic Link (WIP)
  • Passkey (WIP)
  • Auth0
  • AWS Cognito
  • Battle.net
  • Discord
  • Facebook
  • GitHub
  • Google
  • Keycloak
  • LinkedIn
  • Microsoft
  • Spotify
  • Twitch

More Docs

You can find detailed documentation here


UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS
UNLIMITED ACCESS PASS