Skip to content

v.2.1.2

Choose a tag to compare

@kamilczaja kamilczaja released this 22 Mar 17:17
· 463 commits to main since this release
abad673

[2.1.2] - 2024-03-22

Overview

This release addresses several issues and adds minor improvements to the Authority Portal.

Detailed Changes

Patch

  • Fixed the placeholder for the connector Frontend URL (#86)
  • Fixed connectors not showing on operator's "All connectors" list (#119)
  • Fixed an issue with connector URLs not being validated correctly in the UI (#115)
  • Fixed MDS logo & footer (in compact view) (#57)
  • Fixed text overlapping on fullscreen pages (#80)
  • Fixed text overlapping in the registration form (#120)
  • Fixed an issue where clicking "back to application" on the logout confirmation page would not properly cancel the logout process (#8)
  • Fixed an issue where clicking "Data Offers" without having a registered connector would redirect the user to a wrong page (#44)
  • Fixed an issue where an error would be displayed during login under certain circumstances (#107)
  • Fixed an issue where deleting the last user of an organization would delete the organization but leave the user in an invalid state (#45)
  • Fixed the dashboard for non-authority users (#118)
  • Dashboard: Changed the component uptime duration to be shown next to the status instead of showing it in a tooltip (#62)
  • Changed the Keycloak custom theme for login and logout pages #113
  • Changed the Keycloak realm ID to mds-portal (#139)
  • Changed the Access Token Lifespan to one minute (#111)
  • Changed error messages on the registration form to be more user-friendly (#106)
  • Updated user documentation to reflect the current version (#5)
  • Added legal notices to the login page (#79)
  • Added tooltips explaining user roles (#76)

Known issues

  • Due to the change of the Keycloak realm name, some auth-related URLs might be outdated in your browser. If you run into this issue. please clear your browser cache and hard-reload the page.
  • Login and first-login related Keycloak pages may look broken. This will be fixed in the next release.

Deployment Migration Notes

  • Keycloak
    • Change realm ID and name
      • Realm settings > General > Realm ID: mds-portal
      • Realm settings > General > Display name: MDS Portal
    • Change the configuration for the oauth2-proxy client
      • Clients > oauth2-proxy > Settings > Home URL: /oauth2/sign_in
    • Set Access Token Lifespan to 1 minute (Realm Settings -> Tokens -> Access Token Lifespan)
    • Replace MDS theme with the new version
  • Auth Proxy
    • Copy the contents from resources to a directory the OAuth2 proxy can access (CUSTOM_TEMPLATES_DIR)
    • Environment variables
      # Changed
      OAUTH2_PROXY_OIDC_ISSUER_URL: https://[KC_FQDN]/realms/mds-portal
      OAUTH2_PROXY_COOKIE_REFRESH: 30s
      OAUTH2_PROXY_CUSTOM_TEMPLATES_DIR: [CUSTOM_TEMPLATES_DIR]
  • Portal Backend
    • Environment variables
      # Changed
      
      # Base URL of the OIDC server (Keycloak). Must contain the '/realms/{realm}' part of the URL
      quarkus.oidc.auth-server-url: https://[KC_FQDN]/realms/mds-portal
      
      # Keycloak Admin Client: Realm
      quarkus.keycloak.admin-client.realm: mds-portal
  • Portal Frontend
    • Environment variables
      # Changed
      
      # Auth Proxy: Logout URL (please replace ALL placeholders: [EXAMPLE])
      AUTHORITY_PORTAL_FRONTEND_LOGOUT_URL: https://[AP_FQDN]/oauth2/sign_out?rd=https%3A%2F%2F[KC_FQDN]%2Frealms%2Fmds-portal%2Fprotocol%2Fopenid-connect%2Flogout%3Fclient_id%3Doauth2-proxy%26post_logout_redirect_uri%3Dhttps%253A%252F%252F[AP_FQDN]

Compatible Versions

  • Authority Portal Backend Docker Image: ghcr.io/sovity/authority-portal-backend:2.1.2
  • Authority Portal Frontend Docker Image: ghcr.io/sovity/authority-portal-frontend:2.1.2
  • Broker Server: 4.0.0