I am trying to create new client using client_credentails grant but i am unable to do that

                "ClientId": "integrations",
                "ClientSecrets": [ "secret", "2BB80D537B1DA3E38BD30361AA855686BDE0EACD7162FEF6A25FE97BF527A25B" ],
                "AllowedGrantTypes": [
                "AccessTokenType": 0,
                "AccessTokenLifetimeInSeconds": 3600,
                "IdentityTokenLifetimeInSeconds": 3600,
                "RequireClientSecret": true,
                "AllowedScopes": [

api returns "error": "invalid_client" I am not sure what should be in ClientSecrets. Plain text or SHA256? What do I miss in configuration?

  • where do you have this settings ? is it appsettings.json from identityserver? Sep 18 '18 at 12:28
  • yes i added new client there Sep 18 '18 at 12:28
  • Aren't you missing these settings in your client definition: ClientName, RedirectUris, PostLogoutRedirectUris and AllowedCorsOrigins? Have you sort this problem out? @user1075940 Nov 8 '18 at 10:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.