mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-29 06:35:24 +00:00
fix: gate second factors after SSO/LDAP behind an admin setting
This commit is contained in:
1 parent
f217d8db89
commit
95abe24798
13 files changed
+307
-5
No files matched your search
@@ -697,6 +697,14 @@ export interface PluginLoginMethod {
|
||||
labelKey: string;
|
||||
icon?: string;
|
||||
kind: "redirect" | "form";
|
||||
/**
|
||||
* True for a method that authenticates against something other than a
|
||||
* password or key this server holds: SSO, an external directory, a
|
||||
* federated identity provider. Governs whether the "ask for a second
|
||||
* factor after external logins" admin setting applies to it. Leave unset
|
||||
* for a local method (password, a passkey, a plugin's own local form).
|
||||
*/
|
||||
external?: boolean;
|
||||
/** Enabled instances, shown on the login screen. No secrets. */
|
||||
describe?: () => Promise<PluginLoginInstance[]>;
|
||||
/** Redirect methods: where to send the browser. */
|
||||
|
||||
Reference in new issue
Block a user