Files
smartguide/webapp
Roman 7b13db6dbf
LocationBasedServices/smartguide/pipeline/head This commit looks good
fix(auth): clean up auth v2 integration and legacy auth flow
Connect logout and change-password handling to the new auth v2 flow and
remove remaining legacy auth usage from the active frontend/backend flow.

Main changes:
- wire frontend logout and change-password handling to auth v2
- remove old auth service references from the active flow
- fix self-access handling so real_account_id == effective_account_id is not treated as impersonation
- update CredentialService token/session state handling
- update guards to validate the current session through /api/accounts/me
- update the auth interceptor for bearer tokens, public endpoint skips, and 401 recovery
- improve impersonation recovery UX with snackbar feedback and focus cleanup
- keep the registration page for now, but disable registration in CredentialService
2026-06-27 01:38:05 +02:00
..
2026-03-30 13:36:20 +02:00
2026-03-30 13:36:20 +02:00
2026-06-15 08:34:01 +02:00
2026-06-15 19:12:12 +02:00
2026-06-26 10:31:20 +02:00
2026-05-27 19:21:05 +02:00
v1
2026-06-15 23:55:21 +02:00

Webapp

Angular 18 single-page application with Angular Material.

Development

Run npm start for a dev server at http://localhost:4200/. The application will automatically reload on file changes.

OpenAPI Client

Gradle exports the backend OpenAPI schema from the FastAPI app and generates the Angular client from that schema:

../gradlew :webapp:generateOpenApiClient

The generated client is written to src/app/api. The schema file is written to ../service/build/openapi/inse-service.openapi.json.

If the schema was already exported, the npm script can regenerate only the frontend client:

npm run generate:api

Use the generated services for new backend endpoints so request models, response models, and operation names stay aligned with the FastAPI OpenAPI schema.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.