# boolean_smtp_zoho_oauth_redirect_uri

> Filters the redirect URI used for the Zoho OAuth2 connection flow.

Filter · Tier A · Since 1.0.0

Return a different URI to override the resolved default.

## Signature

```php
add_filter( 'boolean_smtp_zoho_oauth_redirect_uri', $callback, 10, 1 );
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$default` | `string` | Redirect URI resolved from a constant, a local REST callback, or the OAuth server. |

**Returns** `string` — The value to short-circuit with, or the default to run the built-in behaviour.

## Fires in

- [app/Services/Mailer/OAuth/OAuthRedirectUri.php:104](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Services/Mailer/OAuth/OAuthRedirectUri.php#L104) — `BooleanSmtp\Services\Mailer\OAuth\OAuthRedirectUri::zoho()`

## Example

```php
add_filter( 'boolean_smtp_zoho_oauth_redirect_uri', function ( string $default ) {
    return $default;
}, 10, 1 );
```
