logoutid not available in implicit flow with identity server4

扶醉桌前 提交于 2019-12-23 12:46:07

问题


hi I am using identity server 4 implicit flow,

I am able to perform login and logout using oidc-client.js library,

but when logout on the identity server -- > account controller --> Logout action parameter "logoutid" is receiving null due to which I cannot get the information about client.

Samples provided by the identity team has a working example where logoutid is available. Only difference with the sample is I am using ASP.Net identity which shouldn't be an issue.

can any one help me solve the issue?

This issue is only for Implicit flow JavaScript application, I am receiving logoutid when working with MVC application.


回答1:


Have you checked that your postLogoutRedirectUri is in the list of allowable postLogoutRedirectUris - If you don't know then look at your identity server logging - That should tell you why.

idsr looks up this url before handing off the controller method.



来源:https://stackoverflow.com/questions/43494644/logoutid-not-available-in-implicit-flow-with-identity-server4

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