Token-based Auth and SSO (NEW!)
NEW! (Since v1.5.0)
Getting Started with token-based authentication
1. Enable token-based auth mode
function onLoad(event) {
// INITIALIZE AUTH TOKENS WITH MY COMPANY NAMESPACE
// TOKENS WILL BE VALID UNTIL LOG OUT IS CALLED
scopes.svySecurity.setTokenBasedAuthentication('com.my-company.auth');
} // INITIALIZE AUTH TOKENS WITH MY COMPANY NAMESPACE
// TOKENS WILL BE VALID FOR 24 HOURS OR UNTIL LOG OUT IS CALLED
scopes.svySecurity.setTokenBasedAuthentication('com.my-company.auth', 24);2. Log in with token
Last updated
Was this helpful?