wso2 - 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);
这有错误。
解决方案
推荐阅读
- restheart - 无需身份验证即可休息
- soapui - 如何解决“获取响应时出错:java.net.SocketException:连接重置”
- javascript - 尝试制作 CSS3 对角线幻灯片动画,但没有按预期工作
- scala - 如何在Scala中找到数组中值的平均值 - Apache Spark
- python - 在python中下载文件时如何解决SSL错误?
- angular - npm 错误!路径 C:\Users\ruwan\Documents\projects\new project\Hair-4-U-hospital\Admin\Hair-4-U-Manufacture\node_modules\@firebase\util\dist
- angular - 如何配置表单字段需要验证或不使用属性文件
- sql - 慢慢更新维度
- reactjs - 使用 Gatsby 从富文本组件中将 Markdown 转换为 HTML
- python - 如何在没有此错误的情况下获得正确的文件目录?