8000 GitHub - qiokio/descope-netlify
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

qiokio/descope-netlify

Repository files navigation

Descope Netlify Banner

Netlify + Descope Next.js Template

This template allows you to instantly deploy an app with Descope Authentication to Netlify. This is great for Next.js developers who want to quickly create deployable applications with advanced auth methods. ⚡

Getting Started 🚀

Follow these steps to clone the repository and start using the app.

Prerequisites

Clone the Repository

Start by cloning the repository to your local machine:

git clone https://github.com/descope-sample-apps/descope-netlify-template
cd descope-netlify-template

Install Dependencies

Navigate to the project directory and install the necessary dependencies:

npm i
npm install netlify-cli -g

Connect To Netlify

The Netlify initialization script will walk you through how to connect to a new or existing Netlify project.

netlify init

or, connect to Netlify by clicking the button below:

Deploy to Netlify

Configuration

Before you run the app, make sure to configure the following:

  • Environment Variables: Set up your environment variables in a .env.local file if running locally, or on the Netlify project dashboard under site configuration -> Environment variables if deploying through Netlify. You'll need to include your Descope project settings:
####### Descope ENV Variables
NEXT_PUBLIC_DESCOPE_PROJECT_ID="" // Descope Project ID
NEXT_PUBLIC_DESCOPE_FLOW_ID="" // Descope flow to use on Sign In Page

Running the App

Once you've configured your app, you're ready to run it:

npm run dev
# or
yarn dev

This command starts the Next.js development server, making your app accessible at http://localhost:3000.

Support 🙌

If you encounter any issues or have questions, consult the Netlify and Descope documentation, or reach out to our support for assistance.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you have suggestions or improvements.

License

This sample app is open-source and available under the MIT License. See the LICENSE file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  
0