initOAuth
from the useLoginWithOAuth
hook to trigger the OAuth login flow.'google'
, 'apple'
, 'twitter'
,
'github'
, 'discord'
, 'linkedin'
, 'spotify'
, 'tiktok'
, 'instagram'
, 'line'
.state
variable returned by the useLoginWithOAuth
hook.useLoginWithOAuth
hook to run custom logic after a successful login or to handle errors.onSuccess
onError