Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit cf1422e

Browse files
committed
fix: fix api endpoint configuration for us1
1 parent b34aa0b commit cf1422e

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Changelog
22

3+
## v0.2.3
4+
5+
### [0.2.3](https://github.com/auth0-lab/fga-dotnet-sdk/compare/v0.2.2...v0.2.3) (2022-04-04)
6+
7+
#### Changes
8+
- fix: fix api endpoint configuration for us1
9+
310
## v0.2.2
411

512
### [0.2.2](https://github.com/auth0-lab/fga-go-sdk/compare/v0.2.1...v0.2.2) (2022-03-17)

src/Auth0.Fga/Auth0.Fga.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>.NET SDK for Auth0 Fine Grained Authorization (FGA)</Description>
1313
<Copyright>Auth0® Inc.</Copyright>
1414
<RootNamespace>Auth0.Fga</RootNamespace>
15-
<Version>0.2.2</Version>
15+
<Version>0.2.3</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Auth0.Fga.xml</DocumentationFile>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryUrl>https://github.com/auth0-lab/fga-dotnet-sdk.git</RepositoryUrl>

src/Auth0.Fga/Configuration/Configuration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public void IsValid() {
5959
/// Version of the package.
6060
/// </summary>
6161
/// <value>Version of the package.</value>
62-
public const string Version = "0.2.2";
62+
public const string Version = "0.2.3";
6363

6464
#endregion Constants
6565

@@ -84,7 +84,7 @@ public Configuration() {
8484
if (string.IsNullOrEmpty(Environment)) {
8585
Environment = DefaultEnvironment;
8686
}
87-
UserAgent = "auth0-fga-sdk {sdkId}/{packageVersion}".Replace("{sdkId}", "dotnet").Replace("{packageVersion}", "0.2.2");
87+
UserAgent = "auth0-fga-sdk {sdkId}/{packageVersion}".Replace("{sdkId}", "dotnet").Replace("{packageVersion}", "0.2.3");
8888
DefaultHeaders ??= new Dictionary<string, string>();
8989

9090
if (!DefaultHeaders.ContainsKey("User-Agent")) {

src/Auth0.Fga/Configuration/EnvironmentConfiguration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ public Auth0FgaEnvironmentConfiguration(string scheme, string host, string apiIs
4141
new() {
4242
{
4343
"default",
44-
new Auth0FgaEnvironmentConfiguration("https", "api.us.fga.dev",
44+
new Auth0FgaEnvironmentConfiguration("https", "api.us1.fga.dev",
4545
"fga.us.auth0.com",
4646
"https://api.us1.fga.dev/")
4747
},
4848
{
4949
"us",
50-
new Auth0FgaEnvironmentConfiguration("https", "api.us.fga.dev",
50+
new Auth0FgaEnvironmentConfiguration("https", "api.us1.fga.dev",
5151
"fga.us.auth0.com",
5252
"https://api.us1.fga.dev/")
5353
},

0 commit comments

Comments
 (0)