Software /
code /
prosody-modules
Comparison
mod_auth_oauth_external/README.md @ 5434:92ad8f03f225
mod_auth_oauth_external: Work without token validation endpoint
In this mode, only PLAIN is possible and the provided username is
assumed to be the XMPP localpart.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 08 May 2023 20:01:34 +0200 |
parent | 5349:ac9710126e1a |
child | 5435:b3e7886fea6a |
comparison
equal
deleted
inserted
replaced
5433:b40299bbdf14 | 5434:92ad8f03f225 |
---|---|
48 : URL string. The token validation endpoint, should validate the token | 48 : URL string. The token validation endpoint, should validate the token |
49 and return a JSON structure containing the username of the user | 49 and return a JSON structure containing the username of the user |
50 logging in the field specified by `oauth_external_username_field`. | 50 logging in the field specified by `oauth_external_username_field`. |
51 Commonly the [OpenID `UserInfo` | 51 Commonly the [OpenID `UserInfo` |
52 endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo) | 52 endpoint](https://openid.net/specs/openid-connect-core-1_0.html#UserInfo) |
53 If left unset, only `SASL PLAIN` is supported and the username | |
54 provided there is assumed correct. | |
53 | 55 |
54 `oauth_external_username_field` | 56 `oauth_external_username_field` |
55 : String. Default is `"preferred_username"`. Field in the JSON | 57 : String. Default is `"preferred_username"`. Field in the JSON |
56 structure returned by the validation endpoint that contains the XMPP | 58 structure returned by the validation endpoint that contains the XMPP |
57 localpart. | 59 localpart. |