Mercurial > prosody-modules
view mod_http_xep227/README.md @ 5646:d67980d9e12d
mod_http_oauth2: Apply refresh token ttl to refresh token instead of grant
The intent in 59d5fc50f602 was for refresh tokens to extend the lifetime
of the grant, but the refresh token ttl was applied to the grant and
mod_tokenauth does not change it, leading to the grant expiring
regardless of refresh token usage.
This makes grant lifetimes unlimited, which seems to be standard
practice in the wild.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 11 Sep 2023 10:48:31 +0200 |
parents | bd0a1f917d98 |
children |
line wrap: on
line source
--- labels: - 'Stage-Alpha' summary: 'HTTP-based account data import/export using XEP-0227' ... Introduction ============ This module allows a user to import or export account data using a simple HTTP API. The data is expected to be in the format described by [XEP-0227: Portable Import/Export Format for XMPP-IM Servers](https://xmpp.org/extensions/xep-0227.html). Note that this module does not provide any UI for direct interaction from users - it is expected that any UI will be provided elsewhere. For example, this module is used by the [Snikket web portal](https://github.com/snikket-im/snikket-web-portal/). For Developers ========== TBD. Compatibility ============= Requires Prosody trunk (270047afa6af).