简体   繁体   English

从WireCloud注销不会从KeyStone注销

[英]Logout from WireCloud does not logout from KeyStone

When logged in to WireCloud via KeyStone it is possible to click logout. 通过KeyStone登录到WireCloud后,可以单击注销。 But this logout button seems to only log the user out from WireCloud and not from KeyStone. 但是此注销按钮似乎只能从WireCloud而不是KeyStone中注销用户。 Therefore if the login button is clicked, the user gets logged in as the user currently signed in to KeyStone. 因此,如果单击登录按钮,则用户将以当前登录KeyStone的用户身份登录。

From my point of view the logout from WireCloud should also log the user out of KeyStone. 从我的角度来看,从WireCloud注销还应该使用户退出KeyStone。 Is there a way to achieve this behaviour? 有没有办法实现这种行为?

Currently, WireCloud only logouts from the IdM server when using the wirecloud.fiwarelabtheme theme. 当前,当使用wirecloud.fiwarelabtheme主题时,WireCloud仅从IdM服务器注销。 In addition, you have to edit the FIWARE_PORTALS setting and overwrite the definition of the Account portal (and probably remove the other portals). 此外,您必须编辑FIWARE_PORTALS设置并覆盖“ Account门户的定义(并可能删除其他门户)。 I have created a ticket for fixing this. 我已创建一张以解决此问题。

This is de default value for the FIWARE_PORTALS setting: 这是FIWARE_PORTALS设置的默认值:

 FIWARE_PORTALS = ( {'name': 'Cloud', 'url': 'https://cloud.lab.fiware.org', "logout_path": "/logout"}, {'name': 'Store', 'url': 'https://store.lab.fiware.org', "logout_path": "/logout"}, {'name': 'Mashup', 'url': 'https://mashup.lab.fiware.org', "logout_path": "/logout", "active": True}, {'name': 'Data', 'url': 'https://data.lab.fiware.org', "logout_path": "/user/logout"}, {'name': 'Account', 'url': 'https://account.lab.fiware.org', "logout_path": "/auth/logout/"}, {'name': 'Help&info', 'url': 'http://help.lab.fiware.org'}, ) 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM