Configure the identity server for client credentials

Contact Nintex Customer Support to onboard your environment with client credentials.

You need to provide a SHA256 hash of your Client Secret for a successful onboarding using Identity Server with Client Credentials.

Generate the secret hash from a Client Secret value in a .NET console application. The onboarding team does not need the actual secret value, only the hash of it.

Use the following steps and code example to generate the hash:

  1. Add the IdentityModel NuGet package.
  2. Add the IdentityModel library reference in the using section of the class:
Copy

Sample code to generate a hash of your Client Secret

using IdentityModel;
    .
    .
    .
    /* Inside a method call */
    var mysecret = "my secret value I am not sharing";
    var encryptedSecret = mysecret.ToSha256();
    Console.WriteLine(encryptedSecret);
    Console.ReadLine();