Forum Discussion

Applicable88's avatar
Applicable88
Icon for Impactful Individual rankImpactful Individual
4 years ago
Solved

How to renew the acces token for a embedd iFrame report?

Hello,

 

I'm using a the embedded adress of a report, wrapped in in 10 minutes reoccruing automatic refresh, which I wrote inside the html file which is on that pc,  I don't know how long it takes, but after a while there is apparently a session timeout and the  "sign in" screen appears and only if someone manually signs in can run the embedded again. 

Is there a way to renew the embedded token with javascript inside my html file?

 

Thank you very much in advance. 

Best. 

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Applicable88,

    I think you need to create a request to a function to invoke and store the embedded token string and expired time into the cache or session.
    After these steps, you can add a timer to compare the current DateTime and expired time to invoke the function to generate new tokens before the current one expired.

    Regards,

    Xiaoxin Sheng