Skip to content

Commit

Permalink
remove encode
Browse files Browse the repository at this point in the history
  • Loading branch information
BinamB committed Nov 24, 2020
1 parent c928865 commit d6ccdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/resources/openid/ras_oauth2.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def validate_passport(self, validation_endpoint, passport):
payload = json.dumps(passport)
headers = {"Content-Type": "application/json"}
res = requests.post(validation_endpoint, headers=headers, data=payload)
return res.text.encode("utf8")
return res.text

def get_user_id(self, code):

Expand Down

0 comments on commit d6ccdf7

Please sign in to comment.