You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
String memberGuid ="MBR-7c6f361b-e582-15b6-60c0-358f12466b4b"; // String | The unique id for a `member`.
5419
5419
String userGuid ="USR-fa7537f3-48aa-a683-a02a-b18940482f54"; // String | The unique id for a `user`.
5420
+
String clientRedirectUrl ="https://mx.com"; // String | A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`.
5420
5421
String referralSource ="APP"; // String | Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`.
5421
5422
Boolean skipAggregation =false; // Boolean | Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page.
5422
-
String uiMessageWebviewUrlScheme ="mx"; // String | A scheme for routing the user back to the application state they were previously in.
5423
+
String uiMessageWebviewUrlScheme ="mx"; // String | A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`.
5423
5424
try {
5424
-
OAuthWindowResponseBody result = apiInstance.requestOAuthWindowURI(memberGuid, userGuid, referralSource, skipAggregation, uiMessageWebviewUrlScheme);
5425
+
OAuthWindowResponseBody result = apiInstance.requestOAuthWindowURI(memberGuid, userGuid, clientRedirectUrl, referralSource, skipAggregation, uiMessageWebviewUrlScheme);
5425
5426
System.out.println(result);
5426
5427
} catch (ApiException e) {
5427
5428
System.err.println("Exception when calling MxPlatformApi#requestOAuthWindowURI");
@@ -5440,9 +5441,10 @@ Name | Type | Description | Notes
**memberGuid** | **String**| The unique id for a `member`. |
5442
5443
**userGuid** | **String**| The unique id for a `user`. |
5444
+
**clientRedirectUrl** | **String**| A URL that MX will redirect to at the end of OAuth with additional query parameters. Only available with `referral_source=APP`. | [optional]
5443
5445
**referralSource** | **String**| Must be either `BROWSER` or `APP` depending on the implementation. Defaults to `BROWSER`. | [optional]
5444
5446
**skipAggregation** | **Boolean**| Setting this parameter to `true` will prevent the member from automatically aggregating after being redirected from the authorization page. | [optional]
5445
-
**uiMessageWebviewUrlScheme** | **String**| A scheme for routing the user back to the application state they were previously in. | [optional]
5447
+
**uiMessageWebviewUrlScheme** | **String**| A scheme for routing the user back to the application state they were previously in. Only available with `referral_source=APP`. | [optional]
0 commit comments