I am using the firebase custom auth to generate a custom token and I was wondering if there was a way to manually update the token by shortening it based on a specific time a session has finished. e.g. if a session finishes for like 20 seconds or maybe 5 mins, I could manually update the expiry time of the token
If that is not possible, is there also a way to set a custom constant expiration time for the token e.g. 1 min rather than the 1 hour expiration time