Jump to content
We've recently updated our Privacy Statement, available here ×

visualize.js with token auth and timezone


gamlin
Go to solution Solved by rmeadows,

Recommended Posts

For some reason the timezone parameter when logging in via token in visualize.js is completely ignored. I can set any timezone, I always see UTC times in reports.

Example from JS code:

visualize({
    auth: {
        locale: "en",
        timezone: "Europe/Berlin",
        token: t,
        preAuth: true,
        tokenName: "pp"
    }

If I use basic auth instead of token, then it works correctly, but with token it seems like timezone and locale parameter are ignored.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...