Software / code / prosody-modules
Comparison
mod_auth_oauthbearer/README.markdown @ 3116:1a1affd22f74
mod_auth_oauthbearer: expand intro to mention when/how you'd use this
| author | JC Brand <jc@opkode.com> |
|---|---|
| date | Thu, 14 Jun 2018 09:13:30 +0000 |
| parent | 3114:73ada978dabc |
comparison
equal
deleted
inserted
replaced
| 3115:d2bf9c8be3a3 | 3116:1a1affd22f74 |
|---|---|
| 6 | 6 |
| 7 Introduction | 7 Introduction |
| 8 ============ | 8 ============ |
| 9 | 9 |
| 10 This is an authentication module for the SASL OAUTHBEARER mechanism, as provided by `mod_sasl_oauthbearer`. | 10 This is an authentication module for the SASL OAUTHBEARER mechanism, as provided by `mod_sasl_oauthbearer`. |
| 11 | |
| 12 You can use this to log in via OAuth, for example if you want your user's to log in with Github, Twitter, Reddit etc. | |
| 13 | |
| 14 The XMPP client needs get an OAuth token from the provider (e.g. Github) and send that to Prosody. | |
| 15 This module will then verify that token by calling the `oauth_url` you've configured. | |
| 11 | 16 |
| 12 Configuration | 17 Configuration |
| 13 ============= | 18 ============= |
| 14 | 19 |
| 15 Per VirtualHost, you'll need to supply your OAuth client Id, secret and the URL which | 20 Per VirtualHost, you'll need to supply your OAuth client Id, secret and the URL which |