Skip to content

Commit 9fc249e

Browse files
committed
Make OIDC_LEEWAY longer
We want to use a token's exp value instead of rejecting all tokens older than 10mins.
1 parent 0e8c325 commit 9fc249e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

kukkuu/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@
166166
"REQUIRE_API_SCOPE_FOR_AUTHENTICATION": env.bool("TOKEN_AUTH_REQUIRE_SCOPE_PREFIX"),
167167
}
168168

169+
OIDC_AUTH = {"OIDC_LEEWAY": 60 * 60}
170+
169171
SITE_ID = 1
170172

171173
PARLER_LANGUAGES = {SITE_ID: ({"code": "fi"}, {"code": "sv"}, {"code": "en"})}

0 commit comments

Comments
 (0)