File tree Expand file tree Collapse file tree 1 file changed +11
-10
lines changed
src/idpyoidc/message/oidc Expand file tree Collapse file tree 1 file changed +11
-10
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ class AuthenticationRequest(Message):
3535 }
3636
3737 def verify (self , ** kwargs ):
38+ super (AuthenticationRequest , self ).verify (** kwargs )
3839 if "request" in self :
3940 _vc_name = verified_claim_name ("request" )
4041 if _vc_name in self :
@@ -102,16 +103,16 @@ class AuthenticationRequestJWT(Message):
102103 }
103104
104105 def verify (self , ** kwargs ):
105- def verify (self , ** kwargs ):
106- _iss = kwargs .get ("issuer" )
107- if _iss :
108- if _iss not in self ["aud" ]:
109- raise ParameterError ("Not among audience" )
110-
111- _client_id = kwargs .get ("client_id" )
112- if _client_id :
113- if _client_id != self ["iss" ]:
114- raise ParameterError ("Issuer mismatch" )
106+ Message . verify (self , ** kwargs )
107+ _iss = kwargs .get ("issuer" )
108+ if _iss :
109+ if _iss not in self ["aud" ]:
110+ raise ParameterError ("Not among audience" )
111+
112+ _client_id = kwargs .get ("client_id" )
113+ if _client_id :
114+ if _client_id != self ["iss" ]:
115+ raise ParameterError ("Issuer mismatch" )
115116
116117
117118class AuthenticationResponse (ResponseMessage ):
You can’t perform that action at this time.
0 commit comments