Integrate Descope Authentication in Svelte with SvelteKit Auth by building a company landing page.
- Descope SvelteKit authentication 🔐
- Customizable landing page.
- Protected Profile page with SvelteKit Auth.
- Fully responsive UI (mobile, tablet, computer).
- Clone the repository:
git clone https://github.com/descope-sample-apps/svelte-sample-app.git
- Install dependencies:
npm install
- Setup environment variables:
DESCOPE_ID="YOUR_DESCOPE_PROJECT_ID"
DESCOPE_SECRET="YOUR_DESCOPE_ACCESS_KEY"
DISCOVERY_URL="YOUR_DISCOVERY_URL"
ISSUER_URL="YOUR_ISSUER_URL"
AUTH_SECRET="YOUR_AUTH_SECRET"
DESCOPE_ID: can be found in your Descope's account under the Project pageDESCOPE_SECRET: can be generated in your Descope's account under the Access Keys pageDISCOVERY_URL: can be found in your Descope Console under the Applications page and editing the active applicationISSUER_URL: can be found in your Descope's account under the Applications page and editing the active applicationAUTH_SECRET: can be generated by going to this site
You can get all the above required links by going to the Federated Apps in the Descope Console.
To start the application, run:
npm run dev
For any issues or suggestions, feel free to open an issue in the GitHub repository.
This project is licensed under the MIT License - see the LICENSE file for details.

