Secure API with JWT PivotData Microservice Documentation


Microservice settings are specified in the appsettings.json file.

Integration example is included into PivotData microservice package (integration\AspNetMvcCore folder).

  "Auth": {
    "Type": "jwt",
    "Jwt": {
      "ValidIssuer": "Test",
      "ValidateIssuer": true,
      "ValidateAudience": false,
      "ValidateLifetime": true,  // set to false if you use JWT that never expires
      "ValidateIssuerSigningKey": true,
      "IssuerSigningKeyString": "some_secure_key_value"
    }
  }