mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
Merge pull request #2937 from ray-lee/saml
Add support for SAML authentication.
This commit is contained in:
@@ -5,5 +5,6 @@ export enum AuthMethodType {
|
||||
Ip = 'ip',
|
||||
X509 = 'x509',
|
||||
Oidc = 'oidc',
|
||||
Orcid = 'orcid'
|
||||
Orcid = 'orcid',
|
||||
Saml = 'saml'
|
||||
}
|
||||
|
@@ -40,6 +40,11 @@ export class AuthMethod {
|
||||
this.location = location;
|
||||
break;
|
||||
}
|
||||
case 'saml': {
|
||||
this.authMethodType = AuthMethodType.Saml;
|
||||
this.location = location;
|
||||
break;
|
||||
}
|
||||
|
||||
default: {
|
||||
break;
|
||||
|
@@ -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],
|
||||
]);
|
||||
|
||||
/**
|
||||
|
@@ -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",
|
||||
|
Reference in New Issue
Block a user