Skip to content

Commit

Permalink
added: gitlab environment variables
Browse files Browse the repository at this point in the history
  • Loading branch information
LovelessCodes committed Nov 8, 2024
1 parent 51a2fbb commit 5d89aa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ GITHUB_CLIENT_SECRET= #optional
MICROSOFT_CLIENT_ID= #optional
MICROSOFT_CLIENT_SECRET= #optional
TWITCH_CLIENT_ID= #optional
TWITCH_CLIENT_SECRET= #optional
TWITCH_CLIENT_SECRET= #optional
GITLAB_CLIENT_ID= #optional
GITLAB_CLIENT_SECRET= #optional
2 changes: 1 addition & 1 deletion src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { drizzleAdapter } from "better-auth/adapters/drizzle";
import { db } from "./db"; // your drizzle instance
import * as authSchema from "./db/auth-schema";

const providers = ["discord", "google", "github", "microsoft", "twitch"];
const providers = ["discord", "google", "github", "microsoft", "twitch", "gitlab"];

const configuredProviders = providers.reduce<
Record<string, { clientId: string; clientSecret: string }>
Expand Down

0 comments on commit 5d89aa9

Please sign in to comment.