问题
I'm evaluating WSO2 Identity Server 5.0.0 but I'm getting a strange issue using the dashboard. I installed it on a server of mine (so it is not on localhost) and configured the following configuration files so that WSO2 knows where to point
File wso2is-5.0.0/repository/conf/carbon.xml
<HostName>SERVER_IP</HostName>
<MgtHostName>SERVER_IP</MgtHostName>
File wso2is-5.0.0/repository/conf/security/saml2.federation.properties
WSO2=https://SERVER_IP:9445/samlsso
File wso2is-5.0.0/repository/conf/security/sso-idp-config.xml
<SSOIdentityProviderConfig>
<ServiceProviders>
<ServiceProvider>
<Issuer>wso2.my.dashboard</Issuer>
<AssertionConsumerService>https://SERVER_IP:9443/dashboard/acs</AssertionConsumerService>
...
As stated in the official documentation I should see some blocks and after clicking the "View details" buttons I should be able to do the operations of the dashboard related to each block.
However, when I login in the Dashboard I can see the blocks, but when I click "View details" I get a blank-content page a you can see in the following screenshot of the "My Profiles" page
The same thing happens for the other blocks.
What can I do? Maybe I didn't configure something?
Thank you in advance
Giulio
回答1:
If you have installed the identity server other than localhost
, You would see some issues with dashboard. I also experienced same type of issues. But you can resolve them by configuring the host name and port properly. Unfortunately there are few places that you need to edit. Please find them below. I have already to report a jira to improve them to configure from one config file.
- repository/conf/carbon.xml
- repository/conf/security/sso-idp-config.xml
- repository/deployment/server/jaggeryapps/dashboard/apis/gadget.json
- repository/deployment/server/jaggeryapps/portal/gadgets/account-recovery/gadget.xml
- repository/deployment/server/jaggeryapps/portal/gadgets/identity_management/gadget.xml
- repository/deployment/server/jaggeryapps/portal/gadgets/pwd_change/gadget.xml
- repository/deployment/server/jaggeryapps/portal/gadgets/user_auth_apps/gadget.xml
- repository/deployment/server/jaggeryapps/portal/gadgets/user_profile/gadget.xml
- modify the url of the user_profile (i.e. http://{IP}:{port}/portal/gadgets/user_profile/gadget.xml ) in "repository/deployment/server/jaggeryapps/dashboard/apis/gadget.json" file in to HTTP and Port in to 9763.
来源:https://stackoverflow.com/questions/24862167/cannot-see-any-option-in-wso2-identity-server-dashboard