security-dashboards-plugin icon indicating copy to clipboard operation
security-dashboards-plugin copied to clipboard

[BUG] Setting default route does not change from `/app/home` for IDP auth

Open rutuja-amazon opened this issue 2 years ago • 2 comments

Setting default route does not change from /app/home for IDP initiated Authentication

Steps to reproduce the behavior: Login to dashboards, change default route - no issues here On SDP initiated auth - throws 403 access denied error

New route should get updated without error. Fix: To change hard-coded route here: https://github.com/opensearch-project/security-dashboards-plugin/blob/main/server/auth/types/saml/routes.ts#L223

rutuja-amazon avatar Nov 23 '22 10:11 rutuja-amazon

Fix is to remove hard-coded routeopensearch-dashboards and fetch it from .kibana index setting so auth always picks up latest route path.

rutuja-amazon avatar Nov 23 '22 11:11 rutuja-amazon

@DarshitChanpura Could you look into this?

peternied avatar Nov 29 '22 19:11 peternied