Skip to content

Repository files navigation

SolidStart + AuthJS

Setup a Discord app

In order to run this example, you need to setup i.e. a Discord app in here: https://discord.com/developers/applications/, to get a client secret and client id which should be added to the .env file. Also, in the Discord app settings under OAuth2, set the Return URL to: http://localhost:3000/api/auth/callback/discord

AuthJS

Everything you need to build an AuthJS authenticated Solid project, powered by solid-start;

This will start a production server on port 3000.

Enviroment Variables

  • DISCORD_ID=
  • DISCORD_SECRET=
  • AUTH_SECRET=b198e07a64406260b98f06e21c457b84
  • AUTH_TRUST_HOST=true
  • AUTH_URL=http://localhost:3000
  • VITE_AUTH_PATH=/api/auth

Sponsor Create JD App

This project was created with the Solid CLI

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages