Commit Graph

97 Commits

Author SHA1 Message Date
Kristof De Langhe
e43aa15a70 70373: Store authenticated EPerson ID in store instead of object 2020-04-15 11:14:41 +02:00
Kristof De Langhe
638793ca5e 70373: Login as EPerson intermediate commit 2020-04-10 17:41:39 +02:00
Giuseppe Digilio
7cf0480098 Merge remote-tracking branch 'remotes/origin/master' into shibboleth
# Conflicts:
#	src/app/app-routing.module.ts
#	src/app/core/auth/auth.service.ts
#	src/app/shared/shared.module.ts
2020-03-23 10:36:19 +01:00
Kristof De Langhe
5c096d5f66 69432: Fix for automatically updating authenticated user 2020-03-12 16:56:00 +01:00
Giuseppe Digilio
a6b2ed607a Merge remote-tracking branch 'remotes/origin/master' into shibboleth
# Conflicts:
#	src/app/core/auth/auth.actions.ts
#	src/app/core/auth/auth.effects.spec.ts
#	src/app/core/auth/auth.effects.ts
#	src/app/core/auth/auth.reducer.spec.ts
#	src/app/core/auth/auth.reducer.ts
#	src/app/core/auth/auth.service.spec.ts
#	src/app/core/auth/auth.service.ts
#	src/app/core/auth/server-auth.service.ts
#	src/app/shared/testing/auth-request-service-stub.ts
2020-03-03 20:04:02 +01:00
Giuseppe Digilio
18e17f0dad Added action to retrieve authenticated eperson object 2020-03-02 13:09:17 +01:00
Giuseppe Digilio
f92eb27c24 remove NormalizedAuthStatus 2020-02-26 10:01:43 +01:00
Giuseppe Digilio
076ee8b26d Merge remote-tracking branch 'remotes/origin/master' into shibboleth
# Conflicts:
#	src/app/core/auth/auth.service.ts
#	src/app/core/auth/models/auth-status.model.ts
#	src/app/core/auth/models/normalized-auth-status.model.ts
#	src/app/core/auth/server-auth.service.ts
#	src/app/core/core.module.ts
#	src/app/shared/shared.module.ts
2020-02-25 17:31:07 +01:00
Art Lowel
bc00c000a6 tests and documentation 2020-02-18 18:15:18 +01:00
Art Lowel
56c3d12497 itermediate commit 2020-02-17 18:12:13 +01: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
0eac9c6369 check Authentication Token both on SSR and CSR 2020-01-17 11:50:07 +01:00
Giuseppe Digilio
afe70bc546 added refresh token when check on authorization cookie is successful 2020-01-17 11:09:41 +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
6f8f4b31bf Renamed retrieveAuthMethods to retrieveAuthMethodsFromAuthStatus 2020-01-10 15:30:26 +01:00
Giuseppe Digilio
fdd05d2fec Refactored components' name and added missing tests 2020-01-02 18:21:47 +01:00
Giuseppe Digilio
972f0dfd60 Merge remote-tracking branch 'remotes/origin/master' into shibboleth
# Conflicts:
#	resources/i18n/de.json5
#	resources/i18n/en.json5
#	src/app/shared/shared.module.ts
2020-01-02 11:43:19 +01:00
Giuseppe Digilio
83fabb007a fixed issue with refresh page when user is already authenticated 2019-12-19 19:01:22 +01:00
Michael W Spalti
3bea8f5a17 Redirect after login changed to use Router navigateByUrl() to prevent encoding of query parameters in redirect. 2019-11-12 12:01:16 -08:00
Giuseppe Digilio
1896b14520 Added CHECK_AUTHENTICATION_TOKEN_COOKIE action 2019-10-24 22:46:01 +02:00
Julius Gruber
0aac997238 Removed dev console logs 2019-10-18 11:40:08 +02:00
Julius Gruber
26fd261d17 Added more debug logs for testserver 2019-10-16 10:08:49 +02:00
Julius Gruber
909b47425f Added logs for testserver 2019-10-14 16:29:06 +02:00
Julius Gruber
46878a7875 Branch update merge 2019-10-08 09:44:37 +02:00
Julius Gruber
8936b96a25 Code clean up 2019-09-20 14:19:09 +02:00
Michael W Spalti
e70b9c5994 Added new auth redirect code for ssr. 2019-09-17 12:44:02 -07:00
Michael W Spalti
8fe617bd74 Changed method name. 2019-09-16 13:14:45 -07:00
Michael W Spalti
0935bd4afd Proposed authentication service method that sets redirect url and dispatches auth request. 2019-09-09 12:55:31 -07:00
Julius Gruber
917783e34b Branch change commit 2019-09-05 08:00:54 +02:00
Julius Gruber
6167012e32 Basic implmentation of the dynamic rendering of Authentication Methods 2019-09-04 16:19:59 +02:00
Julius Gruber
e846aa801f authService startShibAuth() changed 2019-08-09 08:10:32 +02:00
Julius Gruber
3b6a20bf67 Added further dynamic authentication methods 2019-08-08 11:05:12 +02:00
Julius Gruber
12941640a4 Removed old shibboleth code 2019-08-05 15:32:41 +02:00
Julius Gruber
c8f4db618e Store available authentication methods in ngrx/store 2019-08-05 14:45:57 +02:00
Julius Gruber
26f01d6f8f Added backend lookup if shibboleth is enabled 2019-08-02 10:40:46 +02:00
Julius Gruber
14419ca567 Removed dispatchShibAction button 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
70c9050fad Test dispatch of action delivering bearer token 2019-08-02 10:39:58 +02:00
Julius Gruber
0355ff3e47 Get tokoen from backend 2019-08-02 10:39:58 +02:00
Julius Gruber
4504fa1818 Test CORS policy' 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
41e238bad7 Added method getLocationFromHeaders() to auth.interceptor 2019-08-02 10:39:58 +02:00
Julius Gruber
994d96bc95 Removed parseSSOlocation() from auth.service 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
73c046974b Branch change commit 2019-08-02 10:39:57 +02:00
Julius Gruber
70d95b4764 Changed auth-interceptor: location used to makeAuthStatusObject() 2019-08-02 10:39:57 +02:00
lotte
bb76015aa1 Solved issue with non-existing search pages 2019-06-18 08:58:35 +02:00
Giuseppe Digilio
ea81a44e6d Merge remote-tracking branch 'remotes/origin/master' into mydspace
# Conflicts:
#	src/app/core/data/base-response-parsing.service.ts
#	src/app/core/data/request.service.ts
2019-04-25 13:09:58 +02:00
lotte
cd131d4eeb Fixed test issues 2019-04-09 11:10:47 +02:00