Skip to content

Conversation

@mpgxvii
Copy link
Member

@mpgxvii mpgxvii commented Nov 28, 2025

Description:

Authentication & Authorization

  • Added Ory Hydra / Kratos integration (auth-code login, new login endpoint, subject-creation webhook).
  • Authentication is now profile-based via:
    • managementportal.authServer.internal
    • managementportal.identityServer.internal
  • Improved OAuth2/JWT handling, Hydra token support, and client-credentials auth.
  • Relaxed security rules for public project endpoints and refined access control.

User Management & Identity

  • Added Kratos identity support (researcher/admin/subject) with sync back to ManagementPortal.
  • Added email as a subject attribute for Kratos-origin identities.
  • Improved stability and error handling in identity services and updates.

Frontend & UX

  • Updated login flow to auth-code login with new backend URLs.
  • Improved error handling (401 behavior, redirects, error component).
  • Added public project info configuration and adjusted redirects/ports for Kratos flows.

Observability & Operations

  • Integrated Sentry monitoring.
  • Expanded and fixed GitHub Actions (publishing, Docker scans, Snyk, artifacts, scheduled checks).
  • Disabled Liquibase analytics and tightened CI/security settings.

Security & Dependency Updates

  • Upgraded major dependencies (Spring Security, Jackson, Undertow, Logback, Kotlin, Angular, etc.).
  • Addressed security findings (redirect issues, GH action permissions, Docker checks).
  • Updated JVM requirement to Java 17 and modernized build configuration.

Bug Fixes & Maintenance

  • Fixed issues with unassigning sources, internal OAuth login, UserService, and webhook behavior.
  • Improved token retrieval and HTTP client usage.
  • Many small fixes across config, tests, Docker, and documentation.
  • Fixed E2E tests and restored this in GA (previously skipped temporarily while refactor was ongoing)

Upgrade Notes

  • Requires JDK 17.
  • Authentication is now profile-based:
    • managementportal.authServer.internal → internal OAuth2 auth server
    • managementportal.identityServer.internal → internal Kratos identity server
    • Both default to true.
  • Update Ory/Hydra/Kratos config and redirect URLs for new login and webhook endpoints.
  • Review changes to public endpoints and security settings for your deployment.

Checklist:

  • The Main workflow has succeeded
  • The Gatling tests have passed
  • I have logged into the portal running locally with default admin credentials
  • I have updated the README files if this change requires documentation update
  • I have commented my code, particularly in hard-to-understand areas

Bdegraaf1234 and others added 30 commits July 5, 2024 13:38
…e a doubledged sword, 127.0.0.1 should be preferred
Update kotlin version and .gitignore
Added public endpoint for fetching subset of projects info
@mpgxvii mpgxvii requested a review from pvannierop December 19, 2025 12:57
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.

7 participants