Open popup window with external authentication service.
Enum "Provider ID RWU"
- Specifies the enum ID of RESTwithUS provider.Enum "Operation ID RWU"
- Specifies the enum ID of RESTwithUS operation.Text
- URL of the external authentication service (usually including redirect URL back to Business Central in URL parameters).//Open the authorization URL in popup window and start waiting for the redirect
APIScriptRWU.WAITING_FOR_REDIRECT(ProviderID::TestProvider, OperationID::TestProvider_OAuthRedirect, true);
APIScriptRWU.START_OAUTH_AUTHORIZATION(ProviderID::TestProvider, OperationID::TestProvider_OAuthRedirect, AuthorizationUrl);