[AAE-12511] implement OIDC authentication capabilities in ADF (#7856)

* feat: add custom AlfrescoApiHttpClient [ci:force]

* feat: update configs

* feat: move api to follow second entry point structure

* feat: add auth module [ci:force]

* Fix rebasing issues

* Isolate oidc package as subfolder

* Canary mode

* [AAE-12498] Fix unit test should load external settings: resolve reponse data instead returning default config

* [AAE-12498] Set @nrwl/eslint-plugin-nx@14.5.4 version to fix lint job that failed because of the 14.8.6 version (https://github.com/Alfresco/alfresco-ng2-components/actions/runs/4165060892/jobs/7207651856\#step:5:3379)

* [AAE-12498] Fix stories:build-storybook:ci issues

* [AAE-7991] cherry-pick e935f7b0b1 from repo https://github.com/Alfresco/alfresco-ng2-components/pull/7818: send onLogin to initialize acs version to fix [C362242] on canary configuration

* [AAE-12498] Fix security hotspot: fix unsafe pseudorandom number generator

* test: add missing tests for oidc-auth.guard

* test: fix lint issues

* chore: remove assignment in return

* [AAE-12498] Remove warning comment because we already know we're doing breaking changes

* [AAE-12498] Add auth-config.service unit tests

* [AAE-12498] Remove getUserProfile from auth service

---------

Co-authored-by: Andras Popovics <popovics@ndras.hu>
Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
This commit is contained in:
Mikołaj Serwicki
2023-03-07 09:53:11 +01:00
committed by GitHub
co-authored by Andras Popovics Amedeo Lepore
parent dd91f2eeb6
commit f4a8084f0c
62 changed files with 15033 additions and 17743 deletions
+7 -2
View File
@@ -76,6 +76,8 @@
"@mat-datetimepicker/moment": "^9.0.68",
"@ngx-translate/core": "^14.0.0",
"@storybook/core-server": "6.4.22",
"angular-oauth2-oidc": "^13.0.1",
"angular-oauth2-oidc-jwks": "^13.0.1",
"apollo-angular": "^4.0.1",
"chart.js": "2.9.4",
"cropperjs": "1.5.13",
@@ -99,13 +101,14 @@
"@angular-eslint/eslint-plugin-template": "14.3.0",
"@angular-eslint/template-parser": "14.0.2",
"@angular/cli": "~14.1.0",
"@angular-devkit/schematics": "~14.1.0",
"@angular/compiler-cli": "14.1.3",
"@editorjs/code": "2.8.0",
"@editorjs/inline-code": "1.4.0",
"@editorjs/marker": "1.2.2",
"@nrwl/angular": "14.8.6",
"@nrwl/cli": "14.5.4",
"@nrwl/eslint-plugin-nx": "^14.5.4",
"@nrwl/eslint-plugin-nx": "14.5.4",
"@nrwl/node": "14.5.4",
"@nrwl/storybook": "14.5.4",
"@nrwl/workspace": "14.5.4",
@@ -159,6 +162,7 @@
"lint-staged": "^13.1.2",
"lite-server": "^2.6.1",
"mini-css-extract-plugin": "^1.6.0",
"nconf": "^0.11.1",
"ng-mocks": "^14.2.3",
"ng-packagr": "14.0.3",
"nx": "14.4.2",
@@ -177,7 +181,8 @@
"tsconfig-paths": "^4.1.1",
"typescript": "4.7.4",
"webdriver-manager": "12.1.8",
"webpack-cli": "^5.0.1"
"webpack-cli": "^5.0.1",
"webpack": "^5.0.1"
},
"license": "Apache-2.0",
"bundlesize": [