如何 运行 IdentityServer3 样本?
How to run IdentityServer3 samples?
我很难完全理解 identoty server 3 是如何工作的。
即使我花了很多时间去调查。
现在我正在尝试 运行 IdentityServer3 samples.
我可以运行客户端(例如:WPF隐式客户端),但是当我运行这个时我无法登录。
我想我必须 运行 再做两个项目
- 托管身份服务器的项目(注册客户端和范围的地方)
- 还有 api 项目。
当我尝试 运行 'Sample Web API' 项目时出现错误:
An exception of type 'System.InvalidOperationException' occurred in
IdentityServer3.AccessTokenValidation.dll but was not handled in user
code
Additional information: IDX10803: Unable to create to obtain
configuration from:
'https://localhost:44333/core/.well-known/openid-configuration'.
所以可能仍然缺少身份服务器项目,但我不知道
这个项目在哪里? (我说的是项目
localhost:44333).
我还需要设置证书吗?
我尝试了很多东西并且
仍然没有。
你能帮我 运行 这个例子吗?因为这不
只需下载解决方案即可工作。
如果有人知道使 semple 工作需要完成哪些步骤,那就太好了。
感谢您的帮助。
如果没有身份服务器主机,示例将无法工作。
为此我必须下载 Identity Server 3,然后 运行 'Host.Console' 项目(可能也适用于 'Host.Web' 项目)
示例和主机控制台应在单独的 visual studio 个实例中打开,并且 运行 同时打开。
我很难完全理解 identoty server 3 是如何工作的。 即使我花了很多时间去调查。 现在我正在尝试 运行 IdentityServer3 samples.
我可以运行客户端(例如:WPF隐式客户端),但是当我运行这个时我无法登录。
我想我必须 运行 再做两个项目
- 托管身份服务器的项目(注册客户端和范围的地方)
- 还有 api 项目。
当我尝试 运行 'Sample Web API' 项目时出现错误:
An exception of type 'System.InvalidOperationException' occurred in IdentityServer3.AccessTokenValidation.dll but was not handled in user code
Additional information: IDX10803: Unable to create to obtain configuration from: 'https://localhost:44333/core/.well-known/openid-configuration'.
所以可能仍然缺少身份服务器项目,但我不知道 这个项目在哪里? (我说的是项目 localhost:44333).
我还需要设置证书吗?
我尝试了很多东西并且 仍然没有。 你能帮我 运行 这个例子吗?因为这不 只需下载解决方案即可工作。
如果有人知道使 semple 工作需要完成哪些步骤,那就太好了。
感谢您的帮助。
如果没有身份服务器主机,示例将无法工作。
为此我必须下载 Identity Server 3,然后 运行 'Host.Console' 项目(可能也适用于 'Host.Web' 项目)
示例和主机控制台应在单独的 visual studio 个实例中打开,并且 运行 同时打开。