Hi, I am using React ThirdPartyPasswordless
In here (
https://supertokens.com/docs/thirdpartypasswordless/common-customizations/signup-form/custom-providers) It said "you do not need to add a click handler to this as we add it for you automatically."
So if I have my own button component and want to handle the onClick event by myself, I will do like this:
const authUrl = await getThirdPartyAuthorisationURLWithQueryParamsAndSetState({ providerId: "google", authorisationURL: "http://localhost:3000/auth/callback/google", });
window.location.assign(authUrl);
Is it correct?