Skip to content

Breaking Bug since Allauth v0.63.1 when registering using Google "User is already registered with this e-mail address" #641

@adrenaline681

Description

@adrenaline681

After updating the packages of our application to the latest version we found a bug when a user registers using Google. The API endpoint errors out with this message:

User is already registered with this e-mail address

I can confirm that there is no user registered with this email address before I send the request. The odd thing is that this user does get created properly in the database. So it's almost like it's creating the user once, and then trying again and failing.

Here is how my view looks like.

class GoogleLoginView(SocialLoginView):
    adapter_class = GoogleOAuth2Adapter
    client_class = OAuth2Client

I can confirm that this issue is not happening with Allauth v0.63.0 but does happen with v0.63.1

Not sure if this issue might be related but in there it was mentioned that the issue could be in dj-rest-auth

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