【问题标题】:Required Parameters for testing IdentityServer Token endpoint using PostMan使用 PostMan 测试 IdentityServer 令牌端点所需的参数
【发布时间】:2017-05-09 11:00:08
【问题描述】:

配置 Identity Server 客户端以使用 PostMan 对其进行测试所需的参数是什么? 此外,whet 是需要从 PostMan 发送到身份服务器令牌端点 (/connect/token) 的参数。 所有这些都使用带有 asp.net 核心身份的 Identity server 4。

【问题讨论】:

  • 你能不能过去一些代码,例如你如何在 Startup.cs 中配置 IdentityServer?你有哪些客户?

标签: jwt postman identityserver4


【解决方案1】:

您可以按照此快速入门设置服务器。 Identity Server Quickstart

您需要发送到服务器令牌端点的参数是:

  • client_id
  • client_secret
  • grant_type
  • 范围

可能需要一些额外的参数,但这取决于您的授权类型。对于授予类型的客户端凭据,这些参数就足够了。你可以在这里找到更多信息Identity Server Token Endpoint

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-11-22
    • 2016-08-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-02-09
    • 1970-01-01
    相关资源
    最近更新 更多