In UI Builder, I cannot use the given “Login”-block, because I have to execute some logic before the actual login happens. I don’t want to expose this logic on the web client. Therefore, I’ve written an API Service, which internally uses the backendless login API.
However, how does the web client recognizes that the login has happened? I tried to return the user token from my API Service and then set it with the “Set current user token”-block in UI Builder. This has no effect.
Is there a way to let the web client recognize a login done within my API Service?
I know I could use a “before login” event handler, but maybe there is a way to do it with an API Service?
Regards,