Skip to content

Commit 7378343

Browse files
author
charlesgauthereau
committed
fix
1 parent 4474c8e commit 7378343

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

portabase.config.ts

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
export interface AuthProviderConfig {
2-
id: "google" | "github" | "credential";
3-
isActive: boolean;
4-
icon: string;
5-
isManual?: boolean;
6-
credentials?: {
7-
clientId: string;
8-
clientSecret: string;
9-
};
10-
}
111

122

133
export const PORTABASE_DEFAULT_SETTINGS = {
@@ -74,35 +64,3 @@ export const PORTABASE_DEFAULT_SETTINGS = {
7464
},
7565
};
7666

77-
78-
export const SUPPORTED_PROVIDERS: AuthProviderConfig[] = [
79-
{
80-
id: "google",
81-
icon: "hugeicons:chrome",
82-
isActive: Boolean(process.env.AUTH_GOOGLE_METHOD),
83-
// isManual: true,
84-
credentials: {
85-
clientId: process.env.AUTH_GOOGLE_ID || "",
86-
clientSecret: process.env.AUTH_GOOGLE_SECRET || "",
87-
},
88-
},
89-
{
90-
id: "github",
91-
icon: "iconoir:github",
92-
isActive: Boolean(process.env.AUTH_GITHUB_METHOD),
93-
credentials: {
94-
clientId: process.env.AUTH_GITHUB_ID || "",
95-
clientSecret: process.env.AUTH_GITHUB_SECRET || "",
96-
},
97-
},
98-
{
99-
id: "credential",
100-
isActive: true,
101-
icon: "proicons:key",
102-
isManual: true,
103-
credentials: {
104-
clientId: "",
105-
clientSecret: "",
106-
},
107-
},
108-
];

0 commit comments

Comments
 (0)