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

Commit

Permalink
fix: fix api endpoint configuration for us1
Browse files Browse the repository at this point in the history
  • Loading branch information
rhamzeh committed Apr 9, 2022
1 parent b34aa0b commit cf1422e
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion src/Auth0.Fga/Auth0.Fga.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Description>.NET SDK for Auth0 Fine Grained Authorization (FGA)</Description>
<Copyright>Auth0® Inc.</Copyright>
<RootNamespace>Auth0.Fga</RootNamespace>
<Version>0.2.2</Version>
<Version>0.2.3</Version>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\Auth0.Fga.xml</DocumentationFile>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/auth0-lab/fga-dotnet-sdk.git</RepositoryUrl>
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0.Fga/Configuration/Configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void IsValid() {
/// Version of the package.
/// </summary>
/// <value>Version of the package.</value>
public const string Version = "0.2.2";
public const string Version = "0.2.3";

#endregion Constants

Expand All @@ -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<string, string>();

if (!DefaultHeaders.ContainsKey("User-Agent")) {
Expand Down
4 changes: 2 additions & 2 deletions src/Auth0.Fga/Configuration/EnvironmentConfiguration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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/")
},
Expand Down

0 comments on commit cf1422e

Please sign in to comment.