From 5acf46c003d64ac9866b8e90d7245f4580ca243f Mon Sep 17 00:00:00 2001
From: Michael Hadley <m@mthadley.com>
Date: Tue, 6 Aug 2024 15:43:06 -0700
Subject: [PATCH] Add `OrganizationID` field to
 `AuthenticateWithRefreshTokenOpts`

---
 pkg/usermanagement/client.go | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/pkg/usermanagement/client.go b/pkg/usermanagement/client.go
index a1427541..7cf1d21d 100644
--- a/pkg/usermanagement/client.go
+++ b/pkg/usermanagement/client.go
@@ -258,10 +258,11 @@ type AuthenticateWithCodeOpts struct {
 }
 
 type AuthenticateWithRefreshTokenOpts struct {
-	ClientID     string `json:"client_id"`
-	RefreshToken string `json:"refresh_token"`
-	IPAddress    string `json:"ip_address,omitempty"`
-	UserAgent    string `json:"user_agent,omitempty"`
+	ClientID       string `json:"client_id"`
+	RefreshToken   string `json:"refresh_token"`
+	OrganizationID string `json:"organization_id,omitempty"`
+	IPAddress      string `json:"ip_address,omitempty"`
+	UserAgent      string `json:"user_agent,omitempty"`
 }
 
 type AuthenticateWithMagicAuthOpts struct {