Révision 1f01e54b
Ajouté par Serghei Mihai il y a environ 9 ans
ckanext/ozwillo_pyoidc/oidc.py | ||
---|---|---|
95 | 95 |
if isinstance(atresp, ErrorResponse): |
96 | 96 |
raise OIDCError("Invalid response %s." % atresp["error"]) |
97 | 97 |
|
98 |
inforesp = self.do_user_info_request(state=authresp["state"]) |
|
98 |
inforesp = self.do_user_info_request(state=authresp["state"], |
|
99 |
behavior='use_authorization_header') |
|
99 | 100 |
|
100 | 101 |
if isinstance(inforesp, ErrorResponse): |
101 | 102 |
raise OIDCError("Invalid response %s." % inforesp["error"]) |
Formats disponibles : Unified diff
retreive user info via 'Bearer' authorization