Support Topics Documentation Slack YouTube Blog

Logout API

The UserService Logout API seems not to clear out the userToken. So it’s like am still logged in after using the API

Backendless.UserService.logout(new AsyncCallback() {
@Override
public void handleResponse(Void response) {

                    Log.d(getClass().getName(),"UserToken After Logout:"+userToken.toString());

                                        }

                @Override
                public void handleFault(BackendlessFault fault) {

                }
            });

Hello @Nkekere_Tommy_Minimann

We will investigate your problem and respond as soon as possible.

Regards,
Inna

Am still waiting for this update

Hi @Nkekere_Tommy_Minimann ,

could you please provide us your app ID?

Also, have you enabled by some chance Cookie Authorization in Console?

Regards,
Stanislaw

“C2AE98FF-1A1D-BF10-FF3E-64CD97C40D00”
I don’t know about cookie authorization

No. Cookie authorization is not enabled

Hello @Nkekere_Tommy_Minimann

Where do you assign a value to the userToken variable?
Are you assigning a value to a userToken variable before or after a logout?