Skip to content

Local Strategy doesnt work with multiple collections setup #49

@VeiaG

Description

@VeiaG

Plugin version

v0.9.1 - 0.10.0

Payload version

3.65.0 /

Auth.js version

5.0.0-beta-29

Describe the bug

/api/{slug}/me always returning null when using multiple plugin instances ( for multiple collections) with enableLocalStrategy: true

To Reproduce

You can try this with multiple-auth-collections example, but add enableLocalStrategy: true at least for admins, and try to log-in in admin panel.

Login successful, but /me returning null instead of user

Additional context / Screenshots

Image Image Image

Databse - mongodb

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