Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix issue when decoding the Current Customer JWT Payload#103

Merged
bookernath merged 2 commits into
bigcommerce:masterbigcommerce/bigcommerce-api-python:masterfrom
CUCWD:feature.bigcommerce/ztraboo/jyIZBpRtp0C2umLkLXbGjWQAGapM/Fix-JWT-Decode-Verify-ISSCUCWD/bigcommerce-api-python:feature.bigcommerce/ztraboo/jyIZBpRtp0C2umLkLXbGjWQAGapM/Fix-JWT-Decode-Verify-ISSCopy head branch name to clipboard
Jul 7, 2022
Merged

Fix issue when decoding the Current Customer JWT Payload#103
bookernath merged 2 commits into
bigcommerce:masterbigcommerce/bigcommerce-api-python:masterfrom
CUCWD:feature.bigcommerce/ztraboo/jyIZBpRtp0C2umLkLXbGjWQAGapM/Fix-JWT-Decode-Verify-ISSCUCWD/bigcommerce-api-python:feature.bigcommerce/ztraboo/jyIZBpRtp0C2umLkLXbGjWQAGapM/Fix-JWT-Decode-Verify-ISSCopy head branch name to clipboard

Conversation

@ztraboo

@ztraboo ztraboo commented Oct 21, 2021

Copy link
Copy Markdown
Contributor

The token created from this endpoint uses algorithm "HS512". Added this algorithm to the array.
https://developer.bigcommerce.com/api-docs/storefront/current-customer-api

Also noticed that when using verify_payload it gave an error since there were three values returned. Put a __ to handle the last value returned.

The token created from this endpoint uses algorithm "HS512". Added this algorithm to the array.
https://developer.bigcommerce.com/api-docs/storefront/current-customer-api

Also noticed that when using `verify_payload` it gave an error since there were three values returned. Put a `__` to handle the last value returned.
…ayload`.

This `, __` variable doesn't need to be there.

@bc-zachary bc-zachary left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ztraboo for the contribution!

@bookernath bookernath merged commit d891fa6 into bigcommerce:master Jul 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.