Commit Graph

60 Commits

Author SHA1 Message Date
Michael Spalti
290a89909e Added check for external auth and page refresh 2023-04-19 11:39:59 -07:00
Yura Bondarenko
563956c5df 87968: Manual fixes after NgRx migration
Selector typing

Restored pre-13 behaviour where mock stores were reset after every test.
The upgrade caused multiple tests to start failing; we could solve this
by adjusting all of these one by one but that would take some time.
(see https://ngrx.io/guide/migration/v13#testing-reset-mock-store)
2022-04-08 17:57:15 +02:00
Yura Bondarenko
8e4f1993bf 87968: Automatic upgrade to NgRx 13 2022-04-08 17:57:15 +02:00
Michael Spalti
7fa87c3418 Invalid the authorization cache before retrieving token for auth cookie. 2022-02-19 14:25:32 -08:00
Giuseppe Digilio
85fa1c5a9c move effect for cleaning cache to auth.effects 2021-07-21 09:46:15 +02:00
Giuseppe Digilio
fbde0cbad9 Revert "[CSTPER-144] Fixed issue with authorization request encountered while logging-in with external idp"
This reverts commit 73a9fe16
2021-07-19 17:54:02 +02:00
Art Lowel
91b4c81986 run idle timer outside of angular zone 2021-07-01 15:52:12 +02:00
Marie Verdonck
e88baa1995 79700: specs for modal, auth check for idleness tracking & stop blocking at token success 2021-07-01 15:52:12 +02:00
Marie Verdonck
38387d1a0f 79700: Tracking idleness & idle modal 2021-07-01 15:52:12 +02:00
Giuseppe Digilio
73a9fe16c5 [CSTPER-144] Fixed issue with authorization request encountered while logging-in with external idp 2021-06-23 10:41:54 +02:00
Giuseppe Digilio
20b5721e3c Fixed lint errors and add lint fix script 2020-12-04 10:32:46 +01:00
Kristof De Langhe
55c45f5f6c 72699: Hard redirect after log in - loading fixes 2020-08-27 14:50:13 +02:00
Kristof De Langhe
7367f91176 72699: Hard redirect after log in 2020-08-26 14:20:47 +02:00
Philip Vissenaekens
d35f2a419e 70504: removed unused import and variables 2020-07-01 10:15:49 +02:00
Yana De Pauw
2863837bf8 Merge remote-tracking branch 'upstream/master' into w2p-70504_New-user-registration 2020-06-29 10:42:16 +02:00
Giuseppe Digilio
6bd04c94ec store token on AUTHENTICATED_SUCCESS action 2020-06-11 14:15:19 +02:00
Yana De Pauw
ca7a76b80f Implement community feedback
Remove other registration references
Enabled enter submit in registration form
Fixed create-profile password validation to be on debounce
Fixed register page title
2020-06-10 10:15:06 +02:00
Giuseppe Digilio
4a65051641 Fixed issue with authentication when SSR is disabled 2020-05-22 16:48:51 +02:00
Kristof De Langhe
c48bb2cbb0 70373: Stop impersonating button in navbar + clear cookie on logout 2020-04-15 13:08:04 +02:00
Kristof De Langhe
e43aa15a70 70373: Store authenticated EPerson ID in store instead of object 2020-04-15 11:14:41 +02: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
1e99071907 Added auth action that allows to retrieve token once check on authentication cooke is successful 2020-01-17 11:51:55 +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
6f8f4b31bf Renamed retrieveAuthMethods to retrieveAuthMethodsFromAuthStatus 2020-01-10 15:30:26 +01:00
Giuseppe Digilio
6801194cbb if check of Authentication Cookie succeed store token 2020-01-08 18:25:15 +01:00
Giuseppe Digilio
fdd05d2fec Refactored components' name and added missing tests 2020-01-02 18:21:47 +01:00
Giuseppe Digilio
1896b14520 Added CHECK_AUTHENTICATION_TOKEN_COOKIE action 2019-10-24 22:46:01 +02:00
Julius Gruber
5088ec0628 Code clean up 2019-10-18 12:55:34 +02:00
Julius Gruber
792f7bf74d Removed isStandAlone from store 2019-10-18 08:58:36 +02:00
Julius Gruber
593018021d Code clean up 2019-10-08 16:39:19 +02:00
Julius Gruber
52ef2acb08 Requested changes implemented - basic functionality working 2019-09-19 13:43:36 +02: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
c428b1deef Test if reopening PR works 2019-09-04 14:14:12 +02:00
Julius Gruber
71f281516a Added logs for server debug 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
4504fa1818 Test CORS policy' 2019-08-02 10:39:58 +02:00
Julius Gruber
086579b7f7 Added effect: checkTokenError 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
Art Lowel
e387f9446f remove unused 'first' imports 2019-01-17 13:53:34 +01:00
Art Lowel
9911578bcc remove all instances of first as it can cause an error if it's never triggered 2018-12-19 14:53:11 +01:00
lotte
dc5747982b Merge remote-tracking branch 'atmire-internal/w2p-55565_authorization-issue' into patch-support
Conflicts:
	package.json
	src/app/+search-page/search-filters/search-filters.component.ts
	src/app/core/auth/auth.effects.ts
	src/app/core/auth/auth.service.ts
	src/app/core/auth/server-auth.service.ts
	src/app/core/data/data.service.ts
	src/app/header/header.component.spec.ts
	src/app/shared/auth-nav-menu/auth-nav-menu.component.ts
	src/app/shared/testing/auth-service-stub.ts
	yarn.lock
2018-09-27 16:54:59 +02:00
lotte
1f336f29fd small fixes for authentication 2018-09-12 16:11:04 +02:00
lotte
777facf5cd intermediate commit 2018-08-29 15:12:01 +02:00
lotte
2cbe6a6d91 upgrade to angular6 2018-08-24 13:26:43 +02:00
Giuseppe Digilio
099ebd487f fixes 2018-06-07 12:30:24 +02:00
Giuseppe Digilio
f34490db71 Added tests 2018-05-16 16:00:43 +02:00
Giuseppe Digilio
c8a1fe0860 Removed use of platform service and created different service for SSR and CSR 2018-05-03 19:08:07 +02:00
Giuseppe Digilio
04be7170c3 Added auth token to auth state 2018-04-10 15:20:28 +02:00