首页 > 解决方案 > WSO2 Identity Server 5.7.0 OAuth OIDC 如何用 c# 注销代码?

问题描述

我想用 c# 来注销代码:

https://docs.wso2.com/display/IS570/OpenID+Connect+Discovery

我写了这个但不工作:

var values2 = new Dictionary<string, string>
        {
            { "id_token_hint", id_token }
            
           
        };
        var content2 = new FormUrlEncodedContent(values2);
        client = new HttpClient();
        var response3 = await client.GetAsync("https://localhost:9443/oidc/logout?id_token_hint=" + id_token);
       

这有错误。

标签: wso2wso2islogout

解决方案


推荐阅读