Look at the Nuxt 3 documentation to learn more.
Make sure to install the dependencies:
# yarn
yarn install
# npm
npm install
# pnpm
pnpm install
Start the development server on http://localhost:3000
npm run dev
Build the application for production:
npm run build
Locally preview production build:
npm run preview
Check out the deployment documentation for more information.
This project is hosted on Vercel and uses Edge Config Store.
Environment vars:
Var | Value | Description |
---|---|---|
ORIGIN | https://not-equal-think-active-labs.vercel.app | Origin of the oauth request |
REDIRECT_URL | https://not-equal-netlify-cms-github-oauth-provider.vercel.app/callback | Redirect URL for Github to redirect auth'd users to |
OAUTH_CLIENT_SECRET | *** | Github Oauth client secret |
OAUTH_CLIENT_ID | *** | Github OAuth client ID |
NODE_ENV | production | dev/production value |
PORT | 3000 | Port of running application |
To generate OAuth credentials click on your profile / org profile (top right) > Settings > Developer Settings > OAuth Apps > New OAuth App.
Use the following settings:
Field | Value |
---|---|
Application Name | Not-Equal Authentication Gateway |
Homepage URL | https://not-equal-netlify-cms-github-oauth-provider.vercel.app |
Authorization callback URL | https://not-equal-netlify-cms-github-oauth-provider.vercel.app/callback |
The resulting Client ID and Client Secret should be set as environment variables in the Vercel deployment of the Not-Equal-Github-Oauth-Provider project.