Uncategorized

DevNet auth

25 november 2021


DevNet auth { console.error(“Error”, e); }); } else if (PlatformSDK.isLoggedIn() && getCookie(returnCookieName)) { PlatformSDK.fetchUserAccount().then((res)=>{ if(res.data.needsEmailValidation){ PlatformSDK.openBindNow(res.data.emailToValidate); }else{ PlatformSDK.refreshToken().then(()=>{ window.location.href = getCookie(returnCookieName); }).catch(()=>{ PlatformSDK.openLogin(); }) } }).catch(()=>{ PlatformSDK.openLogin(); }) } else { PlatformSDK.openLogin(); } ]]>

Source

Misschien vind je dit ook leuk

No Comments

Leave a Reply