Base solution for your next web application
Open Closed

Change authentication for existing user #8087


User avatar
0
leonardocooper created

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


2 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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.

  • User Avatar
    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.