File tree Expand file tree Collapse file tree 1 file changed +0
-42
lines changed
Expand file tree Collapse file tree 1 file changed +0
-42
lines changed Original file line number Diff line number Diff line change 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
133export 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- ] ;
You can’t perform that action at this time.
0 commit comments