Open allenazamoras opened 2 weeks ago
Describe the bug The LinkedIn onResolve is not being called after a successful login
onResolve
<LoginSocialLinkedin client_id={LINKEDIN_CLIENT_ID} client_secret={LINKEDIN_CLIENT_SECRET} scope="openid,email,profile" onLoginStart={() => setButtonLoading()} onResolve={({ data, provider }) => signIn(data, provider)} onReject={(error) => { console.log("linkedin error: ", error); }} redirect_uri={`http://localhost:5173/`} > . . . </LoginSocialLinkedin>
Expected behavior The function provided for onResolve should be called.
Desktop (please complete the following information):
On the same note, onReject does not run as well when authentication is unsuccessful or not pursued.
onReject
Describe the bug The LinkedIn
onResolve
is not being called after a successful loginExpected behavior The function provided for
onResolve
should be called.Desktop (please complete the following information):