comparison mod_auth_oauth_external/README.md @ 6363:8f65b23a5fd2

mod_auth_oauth_external: Improve example Missing ':' in the URLs
author Kim Alvefur <zash@zash.se>
date Sat, 17 Jan 2026 05:13:09 +0100
parents cce76628c83a
children 866401d78e7d
comparison
equal deleted inserted replaced
6362:1d48c75c8200 6363:8f65b23a5fd2
22 22
23 # Configuration 23 # Configuration
24 24
25 ## Example 25 ## Example
26 26
27 ### KeyCloak example
28
27 ```lua 29 ```lua
28 -- authentication = "oauth_external" 30 VirtualHost "example.net"
31 authentication = "oauth_external"
29 32
30 oauth_external_discovery_url = "https//auth.example.com/auth/realms/TheRealm/.well-known/openid-configuration" 33 -- KeyCloak URLs
31 oauth_external_token_endpoint = "https//auth.example.com/auth/realms/TheRealm/protocol/openid-connect/token" 34 oauth_external_discovery_url = "https://auth.example.com/auth/realms/ExampleRealm/.well-known/openid-configuration"
32 oauth_external_validation_endpoint = "https//auth.example.com/auth/realms/TheRealm/protocol/openid-connect/userinfo" 35 oauth_external_token_endpoint = "https://auth.example.com/auth/realms/ExampleRealm/protocol/openid-connect/token"
36 oauth_external_validation_endpoint = "https://auth.example.com/auth/realms/ExampleRealm/protocol/openid-connect/userinfo"
33 oauth_external_username_field = "xmpp_username" 37 oauth_external_username_field = "xmpp_username"
34 ``` 38 ```
35 39
36 40
37 ## Common 41 ## Common