Currently there are 3 sites, one for each environment: dev, uat, and prod. In the past few weeks, nothing has changed with the login, but just yesterday it started failing on the dev and uat sites. When I use:
await wixMembersFrontend.authentication.login(email, password)
// Get WIX member
const member = await wixMembersFrontend.currentMember.getMember({
fieldsets: ["FULL"],
})
The value of member is null, and when checking if they logged in, it shows false. I was testing using wix-members, @wix/site-members, wix-members-frontend, and wix-members-backend. And none of them solved the problem. I checked the site configuration and everything seems fine. I don’t know what it could be, it only happens on the dev and UAT sites but not on the production one.