Skip to content

Commit

Permalink
verify
Browse files Browse the repository at this point in the history
  • Loading branch information
BinamB committed Jul 28, 2020
1 parent 4bc62d3 commit ed51478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/blueprints/login/ras.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def post_login(self, user, token_result):
# Store refresh token in db
refresh_token = flask.g.tokens.get("refresh_token")
id_token = flask.g.tokens.get("id_token")
decoded_id = jwt.decode(id_token)
decoded_id = jwt.decode(id_token, verify=False)
# Add 15 days to iat to calculate refresh token expiration time
expires = decoded_id.get("iat") + (15 * 24 * 60 * 60)
flask.current_app.ras_client.store_refresh_token(
Expand Down

0 comments on commit ed51478

Please sign in to comment.