Skip to content

Commit

Permalink
FEAT: add multiple oauth providers (discord and github for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
IncognitoTGT committed Jun 27, 2024
1 parent 482cc20 commit d2ce3d6
Show file tree
Hide file tree
Showing 32 changed files with 3,677 additions and 3,011 deletions.
11 changes: 7 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ DOCKER_SOCKET=/var/run/docker.sock
DOCKER_PORT=
# Primary Domain for showing description - for SEO. Leave empty unless you know what you are doing
METADATA_URL=
# Auth providers - comma separated list of providers
AUTH_PROVIDERS=
# NextAuth secret, can be anything random
AUTH_SECRET=
# Auth0 credentials
AUTH0_ID=
AUTH0_SECRET=
AUTH0_ISSUER=
# Authentication credentials
# format: AUTH_<provider>_ID, AUTH_<provider>_SECRET, AUTH_<provider>_ISSUER
AUTH_AUTH0_ID=
AUTH_AUTH0_SECRET=
AUTH_AUTH0_ISSUER=
3 changes: 2 additions & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"ignore": ["**/pnpm-lock.yaml", "**/.next/**", "**/node_modules/**"]
},
"organizeImports": {
"enabled": true
"enabled": true,
"ignore": ["**/pnpm-lock.yaml", "**/.next/**", "**/node_modules/**"]
},
"linter": {
"enabled": true,
Expand Down
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { execSync } from "node:child_process";
// @ts-check
import NextBundleAnalyzer from "@next/bundle-analyzer";
import { execSync } from "node:child_process";
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
Expand Down
43 changes: 22 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,28 +15,29 @@
"dependencies": {
"@next/bundle-analyzer": "^14.2.3",
"@novnc/novnc": "^1.4.0",
"@radix-ui/react-accordion": "^1.1.2",
"@radix-ui/react-alert-dialog": "^1.0.5",
"@radix-ui/react-aspect-ratio": "^1.0.3",
"@radix-ui/react-avatar": "^1.0.4",
"@radix-ui/react-checkbox": "^1.0.4",
"@radix-ui/react-context-menu": "^2.1.5",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-navigation-menu": "^1.1.4",
"@radix-ui/react-popover": "^1.0.7",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-separator": "^1.0.3",
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-switch": "^1.0.3",
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-tooltip": "^1.0.7",
"@paralleldrive/cuid2": "^2.2.2",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.1",
"@tanstack/react-table": "^8.16.0",
"@types/dockerode": "^3.3.26",
"@types/ws": "^8.5.10",
"babel-plugin-react-compiler": "0.0.0-experimental-592953e-20240517",
"babel-plugin-react-compiler": "0.0.0-experimental-696af53-20240625",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"consola": "^3.2.3",
Expand All @@ -50,8 +51,8 @@
"next-themes": "^0.3.0",
"node-loader": "^2.0.0",
"postgres": "^3.4.4",
"react": "19.0.0-rc-6f23540c7d-20240528",
"react-dom": "19.0.0-rc-6f23540c7d-20240528",
"react": "19.0.0-rc-8971381549-20240625",
"react-dom": "19.0.0-rc-8971381549-20240625",
"server-only": "^0.0.1",
"sharp": "^0.33.3",
"sonner": "^1.4.41",
Expand Down
Loading

0 comments on commit d2ce3d6

Please sign in to comment.