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
Everything you need to build an AuthJS authenticated Solid project, powered by solid-start;
This will start a production server on port 3000.
DISCORD_ID=DISCORD_SECRET=AUTH_SECRET=b198e07a64406260b98f06e21c457b84AUTH_TRUST_HOST=trueAUTH_URL=http://localhost:3000VITE_AUTH_PATH=/api/auth