Skip to content

feat(admin-ui): support multi-repository SNAuth sessions#1652

Merged
VargaJoe merged 4 commits into
feature/sn-auth-package-extraimprovementsfrom
feature/snauth-multi-repo-sessions
Jul 1, 2026
Merged

feat(admin-ui): support multi-repository SNAuth sessions#1652
VargaJoe merged 4 commits into
feature/sn-auth-package-extraimprovementsfrom
feature/snauth-multi-repo-sessions

Conversation

@VargaJoe

@VargaJoe VargaJoe commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Scope SNAuth config and tokens per normalized repository URL.
  • Add recent SNAuth repositories on login and an authenticated repository selector in the Admin UI drawer.
  • Add repository/session cleanup paths and an app error fallback for repository loading failures.

Verification

  • git diff origin/feature/sn-auth-package-extraimprovements...HEAD --check
  • npx --yes yarn@1.22.22 workspace @sensenet/sn-auth-react build:types
  • npx --yes yarn@1.22.22 workspace @app/sensenet build:snauth
  • npx --yes yarn@1.22.22 workspace @app/sensenet build:idserver

Builds completed with the existing webpack asset-size and outdated Browserslist warnings.

Review note

Please pay special attention to the automatic IdentityServer -> SNAuth fallback path. The current flow sets the SNAuth pending-login marker in changeAuthType(), then RepositoryProvider clears active repository selection on the incompatible auth-server branch; that can clear the pending marker before SnAuthRepositoryProvider decides whether to call externalLogin().

@VargaJoe VargaJoe merged commit 931e1d0 into feature/sn-auth-package-extraimprovements Jul 1, 2026
6 checks passed
@VargaJoe VargaJoe deleted the feature/snauth-multi-repo-sessions branch July 1, 2026 15:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant