From 6ec2080f4a6dd2fdef118aac8278cd2051b6a7f7 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Jul 18 2024 18:40:14 +0000 Subject: openidc: also set 'introspection_endpoint' flask-oidc actually wants `introspection_endpoint`, not `token_introspection_endpoint`. I got mixed up looking at the config on a keycloak instance, which sets both. Seems reasonable to set both here too, so let's do that, rather than removing `token_introspection_endpoint`. Signed-off-by: Adam Williamson --- diff --git a/ipsilon/providers/openidc/auth.py b/ipsilon/providers/openidc/auth.py index 2e5b732..7e55421 100644 --- a/ipsilon/providers/openidc/auth.py +++ b/ipsilon/providers/openidc/auth.py @@ -752,6 +752,8 @@ class OpenIDC(ProviderPageBase): 'Token'), 'token_introspection_endpoint': '%s%s' % (self.cfg.endpoint_url, 'TokenInfo'), + 'introspection_endpoint': '%s%s' % (self.cfg.endpoint_url, + 'TokenInfo'), 'userinfo_endpoint': '%s%s' % (self.cfg.endpoint_url, 'UserInfo'), 'jwks_uri': '%s%s' % (self.cfg.endpoint_url,