This commit is contained in:
Thang Vu
2023-01-28 09:15:38 +07:00
parent dbabc53752
commit 28544cb93a

View File

@@ -151,7 +151,7 @@ export interface OAuth2Config<Profile>
clientId?: string
clientSecret?: string
/**
* If specified, the OAuth will redirect to this URL after the authorization step instead of the default callback URL which is inferred from the host.
* If specified, will redirect to this URL after the authorization step instead of the default callback URL which is inferred from the host.
* This is especially useful if you want to redirect users on the Preview environment without having to set different URLs in the OAuth provider portal.
*/
callbackUrl?: string