Browse Source

Merge "Fix oauthlib update errors"

changes/88/680788/1
Zuul 1 week ago
parent
commit
143c155ffb
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      keystone/api/os_oauth1.py
  2. 1
    1
      keystone/auth/plugins/oauth1.py

+ 1
- 1
keystone/api/os_oauth1.py View File

@@ -227,7 +227,7 @@ class AccessTokenResource(_OAuth1ResourceBase):
227 227
                 url,
228 228
                 http_method='POST',
229 229
                 body=flask.request.args,
230
-                headers=flask.request.headers)
230
+                headers=dict(flask.request.headers))
231 231
         except NotImplementedError:
232 232
             # Client key or request token validation failed, since keystone
233 233
             # does not yet support dummy client or dummy request token,

+ 1
- 1
keystone/auth/plugins/oauth1.py View File

@@ -56,7 +56,7 @@ class OAuth(base.AuthMethodHandler):
56 56
             url,
57 57
             http_method='POST',
58 58
             body=flask.request.args,
59
-            headers=flask.request.headers,
59
+            headers=dict(flask.request.headers),
60 60
             realms=None
61 61
         )
62 62
         if not result:

Loading…
Cancel
Save