You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
561 B
13 lines
561 B
import { getForwardAuthLoginSystem } from 'app/server/lib/ForwardAuthLogin';
|
|
import { GristLoginSystem } from 'app/server/lib/GristServer';
|
|
import { getMinimalLoginSystem } from 'app/server/lib/MinimalLogin';
|
|
import { getOIDCLoginSystem } from 'app/server/lib/OIDCConfig';
|
|
import { getSamlLoginSystem } from 'app/server/lib/SamlConfig';
|
|
|
|
export async function getCoreLoginSystem(): Promise<GristLoginSystem> {
|
|
return await getSamlLoginSystem() ||
|
|
await getOIDCLoginSystem() ||
|
|
await getForwardAuthLoginSystem() ||
|
|
await getMinimalLoginSystem();
|
|
}
|