Open Closed

Change authentication for existing user #8087


0
leonardocooper created

How to enable external login (Google) for existing users authenticating with username/password?


2 Answer(s)
  • 0
    ismcagdas created

    Hi @leonardocooper

    This is not supported by default. The main logic is, AbpUserLogins table stores internal UserId and Id of the user on external platform.

    If the user count in that situation is not much, you can manually insert records to AbpUserLogins table.

  • 0
    leonardocooper created

    Hi,

    I've inserted a new line into AbpUserLogins with the correct providerKey which I've got from the frontend login attempt and is working now.

    Thanks.