glanceapp / glanceapp/glance

Short-lived token handling for custom-api

Open
#780 0 comments 0 reactions 0 assignees View on GitHub
feature request roadmap
Dominant language
Go
Stars
37.1k
Forks
1.5k
Avg merge
1h 11m
Merged PRs (30d)
1

Description

### 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).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.