Skip to content

Commit 5bf5a28

Browse files
committed
feat(config): add default JWK URL for JWT validation
1 parent 0b2598f commit 5bf5a28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

reana_server/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,9 @@ def _get_rate_limit(env_variable: str, default: str) -> str:
302302
OAUTHCLIENT_REMOTE_APPS = dict()
303303
OAUTHCLIENT_REST_REMOTE_APPS = dict()
304304

305+
# Default value for when no login providers are configured. Used for JWT validation.
306+
REANA_OAUTH_JWK_URL = None
307+
305308
# Keycloak is only configured if login providers are defined
306309
if REANA_SSO_LOGIN_PROVIDERS:
307310
# Variables for the first login provider in the JSON

0 commit comments

Comments
 (0)