Once a cookieless embed session is acquired, is it possible to extend the length of the session afterwards?
For example, if you provided 300 seconds for the session_length parameter, then after 300 seconds (5 minutes) has elapsed, is it possible to extend the session for another 5 minutes?
Solved! Go to Solution.
Hi again, sorry about the delay, I was on a holiday 😉
Ah, I misread your original question. You can't extend the session so after 5 minutes you'll be required to do the login dance again.
However, there's no requirement on our end to use short lived sessions, you could set session_length to hours or days even. The max value by default is 30 days although your Looker Admin can control that.
Hi, a refresh token message will be sent to the embedded client. Check the information here:
I tested that endpoint (PUT /embed/cookieless_session/generate_tokens), it doesn't refresh the session_token_reference's TTL. It only re-generates the navigation_token and the api_token.
Hi again, sorry about the delay, I was on a holiday 😉
Ah, I misread your original question. You can't extend the session so after 5 minutes you'll be required to do the login dance again.
However, there's no requirement on our end to use short lived sessions, you could set session_length to hours or days even. The max value by default is 30 days although your Looker Admin can control that.
Got it, thanks for clarifying that.
Hi @flotor , I'm having some issues with https://cloud.google.com/looker/docs/cookieless-embed#generating_new_tokens api. Im unable to generate new token even if my session ref ttl is set to 8 hrs.
Are you able to complete this cookieless embedding flow?