Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support handling expired/revoked tokens #79

Open
jamietanna opened this issue Jul 11, 2021 · 0 comments
Open

Support handling expired/revoked tokens #79

jamietanna opened this issue Jul 11, 2021 · 0 comments

Comments

@jamietanna
Copy link
Collaborator

Something that's been discussed a bit in the past, and we're starting to see more adoption of, is expiring tokens in IndieAuth.

This would see an IndieAuth Resource Server, in this case the Micropub Server, returning HTTP 401 or HTTP 403s for bad authentication sent by the client, in the case that the token is no longer valid.

This would require handling these errors, and sending the user through a fresh authorization journey to receive new tokens.


As we're starting to see servers supporting this, it'd be good to have one of the more popular clients supporting this!


Related reading:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant