Skip to content

Commit

Permalink
fix: correct bug with Konnect multi-region login
Browse files Browse the repository at this point in the history
  • Loading branch information
GGabriele committed Nov 7, 2023
1 parent b3ccdd5 commit b50f008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion konnect/login_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func (s *AuthService) OrgUserInfo(ctx context.Context) (*OrgUserInfo, error) {
// replace geo-specific endpoint with global one for retrieving org info
client := *s.client
client.baseURL = strings.Replace(s.client.baseURL, "eu.", "global.", 1)
client.baseURL = strings.Replace(s.client.baseURL, "au.", "global.", 1)
client.baseURL = strings.Replace(client.baseURL, "au.", "global.", 1)

req, err := client.NewRequest(http.MethodGet, "/v2/organizations/me", nil, nil)
if err != nil {
Expand Down

0 comments on commit b50f008

Please sign in to comment.