micro-integrator
micro-integrator copied to clipboard
[MI 4.2.0-beta] Unable to override the authorization endpoint when configuring SSO for MI dashboard
Problem
Encountered an issue when trying to set up SSO for the MI Dashboard 4.2.0 Beta using KeyCloak as the ID. The issue occurred due to the default authorization endpoint in MI Dashboard, which is "oauth2/authorize", does not match the authorization endpoint path in Keycloak, which is "/protocol/openid-connect/auth".
The SSO flow is redirecting to the "oauth2/authorize" endpoint even after correctly configuring the deployment.toml file of the MI Dashboard.
Solution
This happened due to the value that is not treated when generating the SSO config. Hence need to improve this generateSSOConfig method [1] to read this property to resolve this issue.
[1] - https://github.com/wso2/product-mi-tooling/blob/855b07beb4521f16b50e4b8ca3525a4fe4595dde/monitoring-dashboard/components/org.wso2.ei.dashboard.bootstrap/src/main/java/org/wso2/ei/dashboard/bootstrap/DashboardServer.java#L333
Affected Component
MI
Version
4.2.0-beta
Implementation
No response
Related Issues
No response
Suggested Labels
4.2.0-beta
Merge the pending merge PR: https://github.com/wso2/product-mi-tooling/pull/346