Skip to content
This repository was archived by the owner on Jan 15, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
FROM openresty/openresty:1.13.6.2-alpine
MAINTAINER Hans Kristian Flaatten <hans.flaatten@evry.com>
FROM openresty/openresty:1.17.8.2-5-alpine

ENV \
SESSION_VERSION=2.22 \
HTTP_VERSION=0.12 \
OPENIDC_VERSION=1.6.1 \
OPENIDC_VERSION=1.7.0 \
JWT_VERSION=0.2.0 \
HMAC_VERSION=989f601acbe74dee71c1a48f3e140a427f2d03ae

Expand Down
4 changes: 2 additions & 2 deletions nginx/lua/auth.lua
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
local opts = {
redirect_uri_path = os.getenv("OID_REDIRECT_PATH") or "/redirect_uri",
redirect_uri = os.getenv("OID_REDIRECT_PATH") or "/redirect_uri", --redirect_uri_path has been deprecated
discovery = os.getenv("OID_DISCOVERY"),
client_id = os.getenv("OID_CLIENT_ID"),
client_secret = os.getenv("OID_CLIENT_SECRET"),
--client_secret = os.getenv("OID_CLIENT_SECRET"), has been deprecated
token_endpoint_auth_method = os.getenv("OIDC_AUTH_METHOD") or "client_secret_basic",
-- Backwards compatible with typo 'OIDC_RENEW_ACCESS_TOKEN_ON_EXPIERY'
renew_access_token_on_expiry = os.getenv("OIDC_RENEW_ACCESS_TOKEN_ON_EXPIRY") ~= "false" and os.getenv("OIDC_RENEW_ACCESS_TOKEN_ON_EXPIERY") ~= "false",
Expand Down