diff --git a/CHANGELOG.md b/CHANGELOG.md index aafb110..93b3340 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## v0.2.3 + +### [0.2.3](https://github.com/auth0-lab/fga-dotnet-sdk/compare/v0.2.2...v0.2.3) (2022-04-04) + +#### Changes +- fix: fix api endpoint configuration for us1 + ## v0.2.2 ### [0.2.2](https://github.com/auth0-lab/fga-go-sdk/compare/v0.2.1...v0.2.2) (2022-03-17) diff --git a/src/Auth0.Fga/Auth0.Fga.csproj b/src/Auth0.Fga/Auth0.Fga.csproj index c04907e..1464d6d 100644 --- a/src/Auth0.Fga/Auth0.Fga.csproj +++ b/src/Auth0.Fga/Auth0.Fga.csproj @@ -12,7 +12,7 @@ .NET SDK for Auth0 Fine Grained Authorization (FGA) Auth0® Inc. Auth0.Fga - 0.2.2 + 0.2.3 bin\$(Configuration)\$(TargetFramework)\Auth0.Fga.xml MIT https://github.com/auth0-lab/fga-dotnet-sdk.git diff --git a/src/Auth0.Fga/Configuration/Configuration.cs b/src/Auth0.Fga/Configuration/Configuration.cs index 6a2330a..3eb25ae 100644 --- a/src/Auth0.Fga/Configuration/Configuration.cs +++ b/src/Auth0.Fga/Configuration/Configuration.cs @@ -59,7 +59,7 @@ public void IsValid() { /// Version of the package. /// /// Version of the package. - public const string Version = "0.2.2"; + public const string Version = "0.2.3"; #endregion Constants @@ -84,7 +84,7 @@ public Configuration() { if (string.IsNullOrEmpty(Environment)) { Environment = DefaultEnvironment; } - UserAgent = "auth0-fga-sdk {sdkId}/{packageVersion}".Replace("{sdkId}", "dotnet").Replace("{packageVersion}", "0.2.2"); + UserAgent = "auth0-fga-sdk {sdkId}/{packageVersion}".Replace("{sdkId}", "dotnet").Replace("{packageVersion}", "0.2.3"); DefaultHeaders ??= new Dictionary(); if (!DefaultHeaders.ContainsKey("User-Agent")) { diff --git a/src/Auth0.Fga/Configuration/EnvironmentConfiguration.cs b/src/Auth0.Fga/Configuration/EnvironmentConfiguration.cs index d071ce0..86b3b0d 100644 --- a/src/Auth0.Fga/Configuration/EnvironmentConfiguration.cs +++ b/src/Auth0.Fga/Configuration/EnvironmentConfiguration.cs @@ -41,13 +41,13 @@ public Auth0FgaEnvironmentConfiguration(string scheme, string host, string apiIs new() { { "default", - new Auth0FgaEnvironmentConfiguration("https", "api.us.fga.dev", + new Auth0FgaEnvironmentConfiguration("https", "api.us1.fga.dev", "fga.us.auth0.com", "https://api.us1.fga.dev/") }, { "us", - new Auth0FgaEnvironmentConfiguration("https", "api.us.fga.dev", + new Auth0FgaEnvironmentConfiguration("https", "api.us1.fga.dev", "fga.us.auth0.com", "https://api.us1.fga.dev/") },