Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.11.0
-
None
-
None
Description
The topology name for Knox SSO is hardcoded in knoxauth.js file:
var loginURL = "/gateway/knoxsso/api/v1/websso?originalUrl=";
If I create a proper topology file for Knox SSO under the name e.g something.xml then it does not work since the knoxauth.js always posts data to /gateway/knoxsso/api/v1... instead of /gateway/something/api/v1...
It would be better if the loginURL could be determined from the actual URL, e.g. if the login page is loaded from:
/gateway/something/knoxauth/login.html
then the JS would post the request to:
/gateway/something/api/v1/websso?originalUrl="