Commit Graph

68 Commits

Author SHA1 Message Date
Alexandre Vryghem
94ceee9080 Merge remote-tracking branch 'templates/dspace-7.6' into fix-display-order-authentication-methods_contribute-7.6
# Conflicts:
#	src/app/shared/log-in/log-in.component.html
#	src/app/shared/log-in/methods/log-in-external-provider/log-in-external-provider.component.spec.ts
#	src/app/shared/log-in/methods/oidc/log-in-oidc.component.html
#	src/app/shared/log-in/methods/oidc/log-in-oidc.component.spec.ts
#	src/app/shared/log-in/methods/orcid/log-in-orcid.component.html
#	src/app/shared/log-in/methods/password/log-in-password.component.ts
#	src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.html
#	src/app/shared/log-in/methods/shibboleth/log-in-shibboleth.component.spec.ts
2023-08-02 21:01:36 +02:00
Alexandre Vryghem
71cf66ecf4 Fix display order of authentication methods 2023-08-02 10:00:43 +02:00
Mark H. Wood
2afc835b7f Catch and report errors from non-JSON responses. 2022-12-16 17:17:55 -05:00
Yura Bondarenko
245977a432 87968: Automatic migration from TSLint to ESLint
Via `ng g @angular-eslint/schematics:convert-tslint-to-eslint`
2022-04-08 17:57:16 +02:00
Marie Verdonck
829ce12710 lgtm alerts 2021-07-01 15:52:12 +02:00
Marie Verdonck
b23522d39f 79700: Auto-refreshing the token & Needed config 2021-07-01 15:51:23 +02:00
lotte
0488cd6b45 Solved lgtm and regex sanitization issues 2021-03-18 18:01:42 +01:00
Giuseppe Digilio
20b5721e3c Fixed lint errors and add lint fix script 2020-12-04 10:32:46 +01:00
Giuseppe Digilio
44381d7653 [CST-3088] fixed code 2020-07-01 22:57:26 +02:00
Yana De Pauw
d24c51e1cd 71201: #678 Angular UI does not properly logout when clicking logout 2020-05-28 14:30:56 +02:00
Kristof De Langhe
638793ca5e 70373: Login as EPerson intermediate commit 2020-04-10 17:41:39 +02:00
Giuseppe Digilio
b19aa64052 Add withCredentials param to request options instead of using http interceptor 2020-01-22 17:06:54 +01:00
Giuseppe Digilio
29b2e89625 Merge remote-tracking branch 'remotes/origin/master' into shibboleth
# Conflicts:
#	src/app/core/auth/auth.interceptor.ts
#	src/app/shared/auth-nav-menu/auth-nav-menu.component.html
#	src/app/shared/shared.module.ts
2020-01-17 12:11:46 +01:00
Giuseppe Digilio
6560d1d112 Use status request to check an existing token and to retrieve auth methods available 2020-01-16 14:36:20 +01:00
Giuseppe Digilio
3132da9b3d Use withCredentials only with request to authn endpoint 2020-01-09 17:44:10 +01:00
Giuseppe Digilio
f594fc9088 Use withCredentials only with request to authn/login endpoint 2020-01-09 12:58:00 +01:00
Giuseppe Digilio
cd2e640886 Use withCredentials only with request to authn/login endpoint 2020-01-09 12:45:11 +01:00
Giuseppe Digilio
fdd05d2fec Refactored components' name and added missing tests 2020-01-02 18:21:47 +01:00
lotte
c48932431f fixes after merge + tslint changes 2019-12-03 11:43:19 +01:00
Giuseppe Digilio
eea76746b1 remove test AuthMethodModel 2019-10-24 22:48:51 +02:00
Giuseppe Digilio
1896b14520 Added CHECK_AUTHENTICATION_TOKEN_COOKIE action 2019-10-24 22:46:01 +02:00
Giuseppe Digilio
103425d7ee Added withCredentials request param 2019-10-24 15:35:15 +02:00
Julius Gruber
0df7bb57a6 Removed log from auth.interceptor 2019-10-21 11:32:39 +02:00
Julius Gruber
1a703af9cb Code cleanup 2019-09-20 13:36:58 +02:00
Julius Gruber
9844e9eff7 Prototype ready 2019-09-20 11:41:01 +02:00
Julius Gruber
52ef2acb08 Requested changes implemented - basic functionality working 2019-09-19 13:43:36 +02:00
Julius Gruber
093ad47a3d Added spaces on import {} 2019-09-03 16:34:26 +02:00
Julius Gruber
901951eaa8 Removed switch statement, changed AuthMethod parsing in authInterceptor to be more generic 2019-09-02 15:01:03 +02:00
Julius Gruber
3b6a20bf67 Added further dynamic authentication methods 2019-08-08 11:05:12 +02:00
Julius Gruber
bcc6daa39f Added mock components for dynamic login components 2019-08-08 09:29:00 +02:00
Julius Gruber
92989a618a Added null/undefined check for authMethodModels 2019-08-05 17:16:15 +02:00
Julius Gruber
9234f8bc46 Removed unused methods from auth.interceptor 2019-08-05 15:42:07 +02:00
Julius Gruber
de8bcce8be Removed ssoLoginUrl from initial auth state 2019-08-05 15:17:53 +02:00
Julius Gruber
c8f4db618e Store available authentication methods in ngrx/store 2019-08-05 14:45:57 +02:00
Julius Gruber
d25f12590d Branch upadate 2019-08-05 09:00:13 +02:00
Julius Gruber
39fd025252 Added spinner to shibboleth landing page 2019-08-02 10:40:46 +02:00
Julius Gruber
318c736083 Added translation for Shibboleth button 2019-08-02 10:40:46 +02:00
Julius Gruber
159ce66050 Removed logs from auth.interceptor 2019-08-02 10:40:46 +02:00
Julius Gruber
26f01d6f8f Added backend lookup if shibboleth is enabled 2019-08-02 10:40:46 +02:00
Julius Gruber
a504d96897 post to login endpoint without credentials 2019-08-02 10:40:46 +02:00
Julius Gruber
17e2918721 AuthInterceptor changed 2019-08-02 10:39:58 +02:00
Julius Gruber
4bcc54befd Added log to interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
a36aa50d16 Added button for empty post login call 2019-08-02 10:39:58 +02:00
Julius Gruber
1186f24cea Added success response log to auth interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
99576dc64a Hardcoded ssoLoginUrl in auth.service retrieveAuthMethods 2019-08-02 10:39:58 +02:00
Julius Gruber
ecdf585216 null check for auth interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
41e238bad7 Added method getLocationFromHeaders() to auth.interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
20794381f1 Refactoring of auth.interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
ef9447cb54 Removed global config from auth.service 2019-08-02 10:39:57 +02:00
Julius Gruber
3dfdc9bdc5 Added 405 error response check to interceptor 2019-08-02 10:39:57 +02:00