4743 use auth google apis callback url instead of messaging provider gmail callback url (#4838)

Closes #4743
This commit is contained in:
bosiraphael
2024-04-08 14:56:12 +02:00
committed by GitHub
parent ab60b8be65
commit 018b9efc2c
7 changed files with 3 additions and 73 deletions

View File

@ -14,7 +14,7 @@ export const useTriggerGoogleApisOAuth = () => {
const token =
transientToken.data?.generateTransientToken.transientToken.token;
window.location.href = `${authServerUrl}/auth/google-gmail?transientToken=${token}`;
window.location.href = `${authServerUrl}/auth/google-apis?transientToken=${token}`;
}, [generateTransientToken]);
return { triggerGoogleApisOAuth };