These docs are for v2.0. Click to read the latest docs for v2.1.

getLoginUrl()

Usage

CleengApi.getLoginUrl(redirectUrl);

If you want to build a redirect flow, use this method to generate login url. Method is often use in mobile app integration to run the authentication part in WebView.

Parameters

jsExample

var url = CleengApi.getLoginUrl('http://redirect.url');