栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 软件开发 > 后端开发 > .Net

2021-06-25 .NET高级班 67-ASP.NET Core Identityserver4开篇介绍

.Net 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

2021-06-25 .NET高级班 67-ASP.NET Core Identityserver4开篇介绍

IdentityServer4 4.0.0 Version 篇

命令创建模板:

dotnet new -i IdentityServer4.Templates

命令创建的程序:dotnet new is4empty -n Zhaoxi.AspNetCore.AuthenticationCenterIDS4

运行起来;

访问:http://localhost:5400/.well-known/openid-configuration

{
    "issuer": "http://localhost:5000",发行网址,也就是说我们的权限验证站点。
    "jwks_uri": "http://localhost:5000/.well-known/openid-configuration/jwks",这个接口获取的是公钥,用于验证jwt的数字签名部分(数字签名由sso维护的私钥生成)用的。   
    "authorization_endpoint": "http://localhost:5000/connect/authorize",授权服务器的授权端点的URL。
    "token_endpoint": "http://localhost:5000/connect/token",获取token的网址
    "userinfo_endpoint": "ht
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/907883.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号