-->

Wso2-emm and SAML SSO configuration

2019-09-19 04:24发布

问题:

I am new in WSO2 and I have some problem with emm and sso login.

I cloned the wso2 emm project from github.

I used maven clean install to generate wso2emm-1.1.0 zip (under product-emm-master\modules\distribution\target)

When I start wso2server.bat, I can only acces to carbon and store, but when I access to emm I had a redirection to https://localhost:9443/sso/ with this

error 500: Something has gone wrong (Problem in (/emm/modules/sso.js#23)).

Even when I login within the store app I had a redirection to this URL

https://192.168.56.1:9443/admin/samlsso

Do I need some configuration in the code source to configure SAML SSO ? I need to know if emm needs some pre-configuration steps ?

Thanks

回答1:

Do you have VmWare installed? Because it confuses the IP configuration of the computer by utilizing the networking bridges.

I would suggest you that first check your ip configuration via,

ifconfig

And from the network preferences delete the bridged connection if exists. After that restart the, server and try again.



回答2:

Can I see the logs? You can activate debug logs from going into WSO2_SERVER_HOME/repository/deployment/server/jaggeryapps/emm and open the file jaggery.conf and go to the bottom to find "logLevel" property and change it to "logLevel": "debug". Save the file and try the above scenario. While you are doing this, open your terminal to check the logs and please post a copy of the exception you are getting here. You can also get the recent logs by going into WSO2_SERVER_HOME/repository/logs/wso2carbon.log.

Thanks