diff --git a/CHANGELOG.md b/CHANGELOG.md index c987b2811..9f2c998c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,9 @@ ## Release (2025-XX-XX) - `core`: [v0.15.1](core/CHANGELOG.md#v0151-2025-01-08) - - **Bugfix:** `ConfigureRegion` does not return an error if a region is set by an enviroment variable. + - **Bugfix:** `ConfigureRegion` does not return an error if a region is set by an environment variable. +- `authorization`: [v0.5.0](services/authorization/CHANGELOG.md#v050-2025-01-09) + - **Feature:** Add support for regions in `APIClient` ## Release (2025-01-07) diff --git a/services/authorization/CHANGELOG.md b/services/authorization/CHANGELOG.md index 578013bf6..31b4182ae 100644 --- a/services/authorization/CHANGELOG.md +++ b/services/authorization/CHANGELOG.md @@ -1,3 +1,7 @@ +## v0.5.0 (2025-01-09) + +- Add support for regions in `APIClient` + ## v0.4.1 (2024-12-17) - **Bugfix:** Correctly handle nullable attributes in model types diff --git a/services/authorization/configuration.go b/services/authorization/configuration.go index 0b01a4f8d..6dbacd3e4 100644 --- a/services/authorization/configuration.go +++ b/services/authorization/configuration.go @@ -22,12 +22,16 @@ func NewConfiguration() *config.Configuration { Debug: false, Servers: config.ServerConfigurations{ { - URL: "https://authorization.api.stackit.cloud", + URL: "https://authorization.api.{region}stackit.cloud", Description: "No description provided", Variables: map[string]config.ServerVariable{ "region": { Description: "No description provided", - DefaultValue: "global", + DefaultValue: "eu01.", + EnumValues: []string{ + "eu01.", + "eu02.", + }, }, }, },