Mercurial > prosody-modules
comparison mod_auth_oauth_external/mod_auth_oauth_external.lua @ 5433:b40299bbdf14
mod_auth_oauth_external: Fix missing import of util.jid
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Mon, 08 May 2023 19:57:10 +0200 |
| parents | d9bc8712a745 |
| children | 92ad8f03f225 |
comparison
equal
deleted
inserted
replaced
| 5432:1c52efb6fd42 | 5433:b40299bbdf14 |
|---|---|
| 1 local http = require "net.http"; | 1 local http = require "net.http"; |
| 2 local async = require "util.async"; | 2 local async = require "util.async"; |
| 3 local jid = require "util.jid"; | |
| 3 local json = require "util.json"; | 4 local json = require "util.json"; |
| 4 local sasl = require "util.sasl"; | 5 local sasl = require "util.sasl"; |
| 5 | 6 |
| 6 local issuer_identity = module:get_option_string("oauth_external_issuer"); | 7 local issuer_identity = module:get_option_string("oauth_external_issuer"); |
| 7 local oidc_discovery_url = module:get_option_string("oauth_external_discovery_url", | 8 local oidc_discovery_url = module:get_option_string("oauth_external_discovery_url", |
