Skip to content

Commit 4d72b9b

Browse files
committed
Fix small typos
1 parent 121e6ef commit 4d72b9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

gateway/src/apicast/configuration_loader/oidc.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ local function load_service(service)
2727
local authentication = proxy.authentication_method or service.backend_version
2828

2929
if authentication and authentication == 'oidc' then
30-
local result = _M.discovery:call(service.proxy.oidc_issuer_endpoint)
30+
local result = _M.discovery:call(proxy.oidc_issuer_endpoint)
3131

3232
if result and service.id then
3333
result.service_id = service.id

spec/configuration_loader/remote_v2_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ UwIDAQAB
315315
}, config.oidc)
316316
end)
317317

318-
it('ingore OIDC configuration when authentication_method is not oidc', function()
318+
it('ignore OIDC configuration when authentication_method is not oidc', function()
319319
test_backend.expect{ url = 'http://example.com/admin/api/services/42/proxy/configs/staging/latest.json' }.
320320
respond_with{ status = 200, body = cjson.encode(
321321
{

0 commit comments

Comments
 (0)