Merge pull request #2937 from ray-lee/saml

Add support for SAML authentication.
This commit is contained in:
Tim Donohue
2025-03-04 13:55:40 -06:00
committed by GitHub
4 changed files with 10 additions and 1 deletions

View File

@@ -5,5 +5,6 @@ export enum AuthMethodType {
Ip = 'ip',
X509 = 'x509',
Oidc = 'oidc',
Orcid = 'orcid'
Orcid = 'orcid',
Saml = 'saml'
}

View File

@@ -40,6 +40,11 @@ export class AuthMethod {
this.location = location;
break;
}
case 'saml': {
this.authMethodType = AuthMethodType.Saml;
this.location = location;
break;
}
default: {
break;

View File

@@ -11,6 +11,7 @@ export const AUTH_METHOD_FOR_DECORATOR_MAP = new Map<AuthMethodType, AuthMethodT
[AuthMethodType.Shibboleth, LogInExternalProviderComponent],
[AuthMethodType.Oidc, LogInExternalProviderComponent],
[AuthMethodType.Orcid, LogInExternalProviderComponent],
[AuthMethodType.Saml, LogInExternalProviderComponent],
]);
/**

View File

@@ -3210,6 +3210,8 @@
"login.form.password": "Password",
"login.form.saml": "Log in with SAML",
"login.form.shibboleth": "Log in with Shibboleth",
"login.form.submit": "Log in",