Invalid_client using OpenIdConnect in client application

前端 未结 2 778
旧时难觅i
旧时难觅i 2021-01-18 05:00

I have an IdentityServer4 application running with ASP.NET Identity. I want to use that so users from another application can login through my remote identity server.

<
2条回答
  •  借酒劲吻你
    2021-01-18 05:37

    2 Things to note for this issue:

    1. In the client application ,'ClientSecret' should be the 'unencryptedvalue' - plaintext.('secret' in following example)
    2. While doing the configuration for all clients, in identity server, please check the secret.Type, it should be 'SharedSecret'.

    Example:

    Secret secret = new Secret("secret".Sha256(), "Description");
    secret.Type = "SharedSecret";
    

提交回复
热议问题