logoutid在身份服务器4的隐式流中不可用 [英] logoutid not available in implicit flow with identity server4

查看:280
本文介绍了logoutid在身份服务器4的隐式流中不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用身份服务器4隐式流

hi I am using identity server 4 implicit flow,

我能够使用oidc-client.js库执行登录和注销,

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

但是在身份服务器上注销时->帐户控制器->注销操作 参数"logoutid"接收到null,因此我无法获取有关客户端的信息.

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.

身份团队提供的示例有一个工作示例,其中可以使用logoutid.与样本唯一的不同是我正在使用ASP.Net身份,这不应该成为问题.

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?

此问题仅适用于隐式流JavaScript应用程序,使用MVC应用程序时我收到logoutid.

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

推荐答案

您是否检查过postLogoutRedirectUri是否在允许的postLogoutRedirectUris列表中-如果您不知道,请查看身份服务器日志记录-应该告诉您为什么

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在移交控制器方法之前会查找此url.

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

这篇关于logoutid在身份服务器4的隐式流中不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆