diff --git a/.gitignore b/.gitignore index 7ebc863ee..72572629b 100644 --- a/.gitignore +++ b/.gitignore @@ -365,3 +365,6 @@ FodyWeavers.xsd /tools/docfx.console.2.51.0 /tools/nuget.exe /tools/packages.config.md5sum + +# Rider +.idea/ \ No newline at end of file diff --git a/API_README.md b/API_README.md index 0fff5c4d9..84843044c 100644 --- a/API_README.md +++ b/API_README.md @@ -5,7 +5,7 @@ Allows customers to easily access the Okta Management APIs This C# SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: - API version: 5.1.0 -- SDK version: 7.0.1 +- SDK version: 7.0.2 - Build package: org.openapitools.codegen.languages.CSharpNetCoreClientCodegen For more information, please visit [https://developer.okta.com/](https://developer.okta.com/) diff --git a/openapi3/config.json b/openapi3/config.json index 3fd6cee46..53ed83e43 100644 --- a/openapi3/config.json +++ b/openapi3/config.json @@ -6,7 +6,7 @@ "packageName" : "Okta.Sdk", "outputDir" : "../", "inputSpec" : "./management.yaml", - "packageVersion" : "7.0.1", + "packageVersion" : "7.0.2", "packageDescription" : "Official .NET SDK for the Okta API", "packageTitle" : "Official .NET SDK for the Okta API", "packageCompany" : "Okta, Inc.", diff --git a/openapi3/templates/DefaultJwtGenerator.mustache b/openapi3/templates/DefaultJwtGenerator.mustache index c2e6c95f5..0052af603 100644 --- a/openapi3/templates/DefaultJwtGenerator.mustache +++ b/openapi3/templates/DefaultJwtGenerator.mustache @@ -91,7 +91,7 @@ namespace {{packageName}}.Client { "exp", (int)timeSpanExp.TotalSeconds }, { "iss", _configuration.ClientId }, { "aud", $"{ClientUtils.EnsureTrailingSlash(_configuration.OktaDomain)}oauth2/v1/token" }, - { "jti", Guid.NewGuid() }, + { "jti", Guid.NewGuid().ToString() }, }; var jsonWebKey = new Microsoft.IdentityModel.Tokens.JsonWebKey(JsonConvert.SerializeObject(_configuration.PrivateKey)); diff --git a/src/Okta.Sdk/Client/Configuration.cs b/src/Okta.Sdk/Client/Configuration.cs index 5a59006ae..74498abee 100644 --- a/src/Okta.Sdk/Client/Configuration.cs +++ b/src/Okta.Sdk/Client/Configuration.cs @@ -39,7 +39,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "7.0.1"; + public const string Version = "7.0.2"; /// /// Identifier for ISO 8601 DateTime Format @@ -758,7 +758,7 @@ public static string ToDebugReport() report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; report += " Version of the API: 5.1.0\n"; - report += " SDK Package Version: 7.0.1\n"; + report += " SDK Package Version: 7.0.2\n"; return report; } diff --git a/src/Okta.Sdk/Client/DefaultJwtGenerator.cs b/src/Okta.Sdk/Client/DefaultJwtGenerator.cs index 4036fa54c..2c8f327aa 100644 --- a/src/Okta.Sdk/Client/DefaultJwtGenerator.cs +++ b/src/Okta.Sdk/Client/DefaultJwtGenerator.cs @@ -100,7 +100,7 @@ public string GenerateSignedJWT() { "exp", (int)timeSpanExp.TotalSeconds }, { "iss", _configuration.ClientId }, { "aud", $"{ClientUtils.EnsureTrailingSlash(_configuration.OktaDomain)}oauth2/v1/token" }, - { "jti", Guid.NewGuid() }, + { "jti", Guid.NewGuid().ToString() }, }; var jsonWebKey = new Microsoft.IdentityModel.Tokens.JsonWebKey(JsonConvert.SerializeObject(_configuration.PrivateKey)); diff --git a/src/Okta.Sdk/Okta.Sdk.csproj b/src/Okta.Sdk/Okta.Sdk.csproj index 4ddb7c7fe..f3d4e4fe9 100644 --- a/src/Okta.Sdk/Okta.Sdk.csproj +++ b/src/Okta.Sdk/Okta.Sdk.csproj @@ -12,7 +12,7 @@ Official .NET SDK for the Okta API Okta, Inc. Okta.Sdk - 7.0.1 + 7.0.2 bin\$(Configuration)\$(TargetFramework)\Okta.Sdk.xml LICENSE True