Thanks to visit codestin.com
Credit goes to github.com

Skip to content

casdoor/nuxt-auth

Repository files navigation

nuxt-auth

A Nuxt 3 example for Casdoor SSO.

Demo video

Login

Configuration

The default config.js points to the Casdoor demo site. Change it to your own Casdoor:

const sdkConfig = {
  serverUrl: "https://door.casdoor.com",
  clientId: "294b09fbc17f95daf2fe",
  clientSecret: "dd8982f7046ccba1bbd7851d5c1ece4e52bf039d",
  organizationName: "casbin",
  appName: "app-vue-python-example",
  redirectPath: "/callback",
}

export default sdkConfig;

Getting started

Install dependencies:

npm install

Run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Building for Production

Build the application:

npm run build

Generate static files:

npm run generate

Preview the production build:

npm run preview

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •