Skip to content

zesty-io/nuxt-app-starter

Repository files navigation

Overview

Nuxt App Starter is a pre-configured Nuxt.js application that integrates with the Zesty.io Vue SDK Plugin. It serves as a foundation for building applications with features like SSO authentication and SDK state management.

Features

  • Integrated Zesty.io Vue SDK Plugin: Pre-configured to work with the Zesty.io Vue SDK.
  • SSO Authentication: Supports Google, Microsoft, and GitHub for Single Sign-On.
  • Reactive Authentication State: Easily manage and display authentication states.

Configuration

The Nuxt App Starter is pre-configured with a default authentication service URL and cookie name. Modify these values in the plugin file to suit your setup.

Plugin Configuration (plugin file)

nuxtApp.vueApp.use(createAppLoader, {
  authServiceUrl: "https://auth.api.dev.zesty.io", // Change this URL
  authCookie: "DEV_APP_SID", // Change cookie name if needed
});

Customizing SSO Providers

You can customize the list of SSO providers in App.vue:

const providers = ref(['google', 'microsoft', 'github']); // Modify as needed

About

Nuxt starter for Zesty.io CMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published