@@ -88,7 +88,8 @@ def frontend_config_with_extra_id_token_claims(self, signing_key_path):
88
88
89
89
def create_frontend (self , frontend_config ):
90
90
# will use in-memory storage
91
- instance = OpenIDConnectFrontend (lambda ctx , req : None , INTERNAL_ATTRIBUTES ,
91
+ instance = OpenIDConnectFrontend (lambda ctx , req : None , lambda ctx , req : None ,
92
+ INTERNAL_ATTRIBUTES ,
92
93
frontend_config , BASE_URL , "oidc_frontend" )
93
94
instance .register_endpoints (["foo_backend" ])
94
95
return instance
@@ -98,6 +99,7 @@ def create_frontend_with_extra_scopes(self, frontend_config_with_extra_scopes):
98
99
internal_attributes_with_extra_scopes = copy .deepcopy (INTERNAL_ATTRIBUTES )
99
100
internal_attributes_with_extra_scopes ["attributes" ].update (EXTRA_CLAIMS )
100
101
instance = OpenIDConnectFrontend (
102
+ lambda ctx , req : None ,
101
103
lambda ctx , req : None ,
102
104
internal_attributes_with_extra_scopes ,
103
105
frontend_config_with_extra_scopes ,
@@ -447,7 +449,7 @@ def test_token_endpoint_with_extra_claims(self, context, frontend_config_with_ex
447
449
448
450
def test_token_endpoint_issues_refresh_tokens_if_configured (self , context , frontend_config , authn_req ):
449
451
frontend_config ["provider" ]["refresh_token_lifetime" ] = 60 * 60 * 24 * 365
450
- frontend = OpenIDConnectFrontend (lambda ctx , req : None , INTERNAL_ATTRIBUTES ,
452
+ frontend = OpenIDConnectFrontend (lambda ctx , req : None , lambda ctx , req : None , INTERNAL_ATTRIBUTES ,
451
453
frontend_config , BASE_URL , "oidc_frontend" )
452
454
frontend .register_endpoints (["test_backend" ])
453
455
0 commit comments