Skip to content

LinkedIn onResolve not called #183

Description

@allenazamoras

Describe the bug
The LinkedIn onResolve is not being called after a successful login

<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):

  • OS: Mac OS (14.6.1)
  • Browser: Chrome (130.0.6723.92 (Official Build) (arm64))
  • Version [e.g. 22]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions