cryptomator / cryptomator/hub

Request new license token if old one is expired.

Open
#109 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
80
Forks
15
PR merge metrics
No merged PRs in 30d

Description

If the license token expires, a new token should be accquired with the {{refreshUrl}} claim in the old token.
Two strategies are possible:

* automatic: Use polling or a predefined trigger to get new token
* manual: Show a refresh button in the billing component

Of course, the first is the desirable way, increasing UX by not forcing the user to act and keeping it convenient.

Remark: The {{refreshUrl}} must be called in backend due to CORS restrictions in frontend.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.