Login System Action returning "Invalid username or password"

Hey guys,

I'm using the Login Action from System:

I'm giving it a valid UserId, the Espace's User provider is "Users" this is a Mobile App and it's multi-tenant.

The way the app works we don't handle usernames/passwords so calling the LoginPassword action won't do.

I've tried to change the Persistent flag but I got the same result. 

This is happening with OSv11


Does anyone have any idea or input on why this can be happening?


Thanks,
Luis Almeida


EDIT: Apparently for multi-tenant apps and to use this we have to do a Tenant Switch before calling the Login action from System

Hello Luis.

Yes you are right. You need to change the tenant before call the login action.


BR,

Luís