Closed orweinberger closed 8 years ago
While we can use APIToken in the script src tag, i.e.
APIToken
<script type="text/javascript" src="http://localhost:8080/joola.js?APIToken=apitoken-demo"></script>
We cannot use regular tokens in a similar way (joola.USER is undefined even though the token is valid):
joola.USER is undefined
<script type="text/javascript" src="http://localhost:8080/joola.js?token=7HAq8lCSxjOpZQOFGfP2HRke5meP04tq"></script>
When using the joola.init() function I am able to initialize joola with the correct user while using a regular token.
joola.init()
While we can use
APIToken
in the script src tag, i.e.We cannot use regular tokens in a similar way (
joola.USER is undefined
even though the token is valid):When using the
joola.init()
function I am able to initialize joola with the correct user while using a regular token.