I am unable to login to admin-dashboard application in WSO2 API manager

夙愿已清 提交于 2019-12-11 12:47:59

问题


I'm unable to login to admin dashboard in WSO2 API manager. I got an error "Unable to log you in! Login Failed "

API Manager is configured with LDAP read only primary user store. Our LDAP do not have groups and roles are not red from LDAP.

Additionally API Manager is configured to work with MySQL DB and WSO2 IS as key manager. But I think this is not a reason of such behavior.

If I configure API Manager with a standard user store (without any changes to user-mgt.xml) login to admin-dashboard works OK.


回答1:


This problem was resolved.

In file

/repository/deployment/server/jaggeryapps/admin-dashboard/conf/site.json 

I changed "admin" role name to '"Internal/admin":

"allowedRole":"Internal/admin",

"allowedRoles":"Internal/admin,Internal/subscriber"

Now I can connect to admin-dashboard. I think Internal is necessary because of ReadOnly LDAP user store without groups.




回答2:


The accepted answer did solve the issue. However, the correct path/file is actually:

/repository/deployment/server/jaggeryapps/admin-dashboard/**site/**conf/site.json

The original post missed "site" before "conf" folder, in case anyone is wondering.

At least this applies to wso2 am 1.10.0



来源:https://stackoverflow.com/questions/36057317/i-am-unable-to-login-to-admin-dashboard-application-in-wso2-api-manager

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!