Hi @gregtwallace and other users,
Playing around with the API and doing calls (based on what i'm seeing in router.make.go).
You can clearly see that TTL of the token is now() + 4 min.
When doing calls via the API, there is no token keepalive going on (token time reset now() + 4min on each call)
But the web site does not have that problem. AKA, as long as you navigate withing those 4 min, it does not expire.
Is there a way to also have that when doing manual api calls ? (using the curl command)
For now, this is what i'm doing:
- Login th get the access token:
curl -isX POST -d '{"username":"admin","password":"<myLocalUserAdminPassword>"}' https://<host URLwith a valid cert>/certwarden/api/v1/app/auth/login
then use the access token to do each secure calls.
I saw the RefreshSessionCookie function but, I'm not sure this applies.. and if it does, I do not know the "key":"value" to pass in POST.
Could someone help on this part ?
Thanks,
JF