Helper function that can be used to improve experiece for returning customers. If user is logged in to Cleeng platform, but he doesn't have access token, this method can be used to obtain it automatically. When call is successful (ie. user is logged to Cleeng Platform), cookie with token will be set.


This method has no parameters


CleengApi.autologin(function(result) {
        if (result.success) {
            alert("Success! Obtained token: " + result.customerToken);

Back to Authorization & payments

We use cookies to ensure that we provide you the best service and website experience. Read our Cookie policy for more details.