Software /
code /
prosody-modules
Diff
mod_auth_oauth_external/README.md @ 5349:ac9710126e1a
mod_auth_oauth_external: Add configuration example
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 15 Apr 2023 10:54:34 +0200 |
parent | 5348:ff539f34769f |
child | 5434:92ad8f03f225 |
line wrap: on
line diff
--- a/mod_auth_oauth_external/README.md Sat Apr 15 10:46:04 2023 +0200 +++ b/mod_auth_oauth_external/README.md Sat Apr 15 10:54:34 2023 +0200 @@ -20,6 +20,20 @@ # Configuration +## Example + +```lua +-- authentication = "oauth_external" + +oauth_external_discovery_url = "https//auth.example.com/auth/realms/TheRealm/.well-known/openid-configuration" +oauth_external_token_endpoint = "https//auth.example.com/auth/realms/TheRealm/protocol/openid-connect/token" +oauth_external_validation_endpoint = "https//auth.example.com/auth/realms/TheRealm/protocol/openid-connect/userinfo" +oauth_external_username_field = "xmpp_username" +``` + + +## Common + `oauth_external_issuer` : Optional URL string representing the Authorization server identity.