Skip to content

Commit

Permalink
Fix redirect_to parameter for customer login JWT
Browse files Browse the repository at this point in the history
Key for JWT was wrong causing this feature to fail; this change uses the correct key.
  • Loading branch information
bookernath committed Jun 22, 2017
1 parent 05e30b7 commit b857e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bigcommerce/customer_login_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def create(cls, client, id, redirect_url=None, request_ip=None):
)

if redirect_url:
payload['redirect_url'] = redirect_url
payload['redirect_to'] = redirect_url

if request_ip:
payload['request_ip'] = request_ip
Expand Down

0 comments on commit b857e6e

Please sign in to comment.