glance icon indicating copy to clipboard operation
glance copied to clipboard

Short-lived token handling for custom-api

Open ralphocdol opened this issue 5 months ago • 0 comments

Description

Some API keys or tokens have a short expiry date ranging from a week to a month, sure there are ways to request a new token again with the newRequest but that could spam the service. Caching it is one way but that would also Cache the content which may not be useful if you want a new data on refresh.

A custom-api to store them somewhere secure would be useful, like in a browser storage encrypted by Glance and just be decrypted on request to be checked if they are expired or not so that a new one can be requested and stored (assuming the API supports it).

ralphocdol avatar Jul 28 '25 16:07 ralphocdol