fix(auth): clean up auth v2 integration and legacy auth flow
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
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
This commit is contained in:
@@ -3,11 +3,7 @@
|
||||
<mat-drawer-container
|
||||
class="drawer-container"
|
||||
[autosize]="!mediaQuery.matches">
|
||||
@if (
|
||||
(credentialService.authenticated | async) &&
|
||||
((credentialService.superadmin | async) ||
|
||||
(credentialService.universityadmin | async))
|
||||
) {
|
||||
@if (credentialService.authenticated | async) {
|
||||
<mat-drawer
|
||||
class="drawer"
|
||||
[class.drawer--collapsed]="isSidebarCollapsed()"
|
||||
|
||||
Reference in New Issue
Block a user