[IDENTITY-2544] It is better, If we can improve to read dashboard url configurations from one place Created: 06/Jun/14  Updated: 20/Sep/15  Resolved: 06/Dec/14

Status: Resolved
Project: WSO2 Identity Server
Component/s: user-view
Affects Version/s: 5.0.0-GA
Fix Version/s: 5.1.0-M1

Type: Improvement Priority: Highest
Reporter: Asela Pathberiya Assignee: Ishara Karunarathna
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relates to IDENTITY-2878 Fixing 'Dashboard Login, Register pag... Resolved
is related to IDENTITY-2614 [User portal] [When LB host name and ... Resolved
Severity: Blocker
Estimated Complexity: Novice
Test cases added: Yes
Affects Docs:

Comment by Asela Pathberiya [ 06/Jun/14 ]

Currently, If we are changing host name or port number, we need to change them in following files..
1. repository/conf/carbon.xml
2. repository/conf/security/sso-idp-config.xml
3. repository/deployment/server/jaggeryapps/dashboard/apis/gadget.json
4. repository/deployment/server/jaggeryapps/portal/gadgets/account-recovery/gadget.xml
5. repository/deployment/server/jaggeryapps/portal/gadgets/identity_management/gadget.xml
6. repository/deployment/server/jaggeryapps/portal/gadgets/pwd_change/gadget.xml
7. repository/deployment/server/jaggeryapps/portal/gadgets/user_auth_apps/gadget.xml
8. repository/deployment/server/jaggeryapps/portal/gadgets/user_profile/gadget.xml

Comment by Asela Pathberiya [ 06/Jun/14 ]

Also please modify the url of the user_profile (i.e. ) in "repository/deployment/server/jaggeryapps/dashboard/apis/gadget.json" file in to HTTP and Port in to 9763.

Comment by Johann Nallathamby [ 05/Dec/14 ]

The ideal way to do this is read the hostname from carbon.xml. Can use CarbonUIUtil.getAminConsoleURL() and replace the /carbon with /dashboard like we've done in most endpoints like /samlsso or /oauth2/authorize where we replace /carbon with /commonauth.

Generated at Fri May 25 19:59:43 IST 2018 using JIRA 7.2.2#72004-sha1:9d5132893cc8c728a3601a9034a1f8547ef5c7be.