- backend: switch from OAuth2 Resource Server to OAuth2 Client (spring-boot-starter-oauth2-client) - backend: configure Spring Security oauth2Login() with session cookie (JSESSIONID HttpOnly) - backend: add UserController exposing /api/user to report authenticated user info - backend: configure GET /logout with RP-initiated end-session support - backend: update HelloController to use @AuthenticationPrincipal OAuth2User - backend: update all tests to use .with(oidcLogin()) mock - backend: explicitly configure OIDC provider endpoints to bypass discovery at test time - frontend: remove angular-oauth2-oidc and @ngx-env/builder dependencies - frontend: revert angular.json builders to standard @angular/build:* - frontend: replace client-side OIDC flow with /api/user check + window.location redirects - frontend: update app.config.ts and config.service.ts to remove OIDC configuration - frontend: rewrite all unit tests to mock /api/user endpoint instead of OAuthService - compose: move OIDC_CLIENT_ID and OIDC_CLIENT_SECRET to backend environment variables - compose/dockerfile: remove frontend build-time OIDC ARG/ENV secrets
39 lines
971 B
JSON
39 lines
971 B
JSON
{
|
|
"name": "lmnp-frontend",
|
|
"version": "0.0.0",
|
|
"scripts": {
|
|
"ng": "ng",
|
|
"start": "ng serve",
|
|
"build": "ng build",
|
|
"watch": "ng build --watch --configuration development",
|
|
"test": "ng test",
|
|
"lint": "ng lint"
|
|
},
|
|
"private": true,
|
|
"packageManager": "npm@12.0.1",
|
|
"dependencies": {
|
|
"@angular/common": "^22.0.0",
|
|
"@angular/compiler": "^22.0.0",
|
|
"@angular/core": "^22.0.0",
|
|
"@angular/forms": "^22.0.0",
|
|
"@angular/platform-browser": "^22.0.0",
|
|
"@angular/router": "^22.0.0",
|
|
"rxjs": "~7.8.0",
|
|
"tslib": "^2.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@angular/build": "^22.0.6",
|
|
"@angular/cli": "^22.0.6",
|
|
"@angular/compiler-cli": "^22.0.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"@vitest/coverage-v8": "^4.1.10",
|
|
"angular-eslint": "22.1.0",
|
|
"eslint": "^10.6.0",
|
|
"jsdom": "^28.0.0",
|
|
"prettier": "^3.8.1",
|
|
"typescript": "~6.0.2",
|
|
"typescript-eslint": "8.62.1",
|
|
"vitest": "^4.0.8"
|
|
}
|
|
}
|