Feature request: support expiring access tokens #447
Labels
No labels
Code
Contacts
Design
F-Droid
IndieWeb
Location
Mastodon
Media
Pixelfed
Pleroma
Posting
Question
Reader
Tracker
Translation
Usability
bug
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
inhji/indiepass-android#447
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
IndiePass appears to expect that the received
access_tokenwill be valid forever. If the server responds with a HTTP 401, this gets displayed to the user as an error.If the
access_tokenhas expired, the server will respond with a 401 with aWWW-Authenticate: error="invalid_token"header: https://datatracker.ietf.org/doc/html/rfc6750#section-3.1It would be useful if IndiePass could spot this error and either restart the login process from the beginning, or make use of a
refresh_tokenif one was present in the initial access token response.