Skip to content

Can't login with existing user using any oauth provider #11

@svenstm

Description

@svenstm

Plugin Version

1.0.0

Better Auth Version

1.5.5

Description

When the plugin is enabled, logging in with an existing user throws the "Invitation code required" error.

Steps to Reproduce

Enable the plugin and login using an already registered user, using any oauth provider.

Expected Behavior

The invitation code should only required when the oauth callback is called for a new user.

Actual Behavior

The invitation code is now required in every oauth callback call

Runtime

Node.js

Runtime Version

24.9.0

Database Adapter

Other

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions