* Move Google, Email, and Azure to plugins * Move OIDC provider, remove old loading code * Move AuthLogo to plugin * AuthLogo -> PluginIcon * Lazy load plugin settings
13 lines
328 B
TypeScript
13 lines
328 B
TypeScript
import { signin } from "@shared/utils/routeHelpers";
|
|
import { AuthenticationProviderConfig } from "@server/models/helpers/AuthenticationHelper";
|
|
|
|
export default function presentProviderConfig(
|
|
config: AuthenticationProviderConfig
|
|
) {
|
|
return {
|
|
id: config.id,
|
|
name: config.name,
|
|
authUrl: signin(config.id),
|
|
};
|
|
}
|