Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate unnecessary validate_shop call from JWT class #944

Merged
merged 1 commit into from
Apr 25, 2022

Conversation

paulomarg
Copy link
Contributor

@paulomarg paulomarg commented Apr 25, 2022

Description

The validate_shop from the JWT class is not really necessary, because this information is coming from Shopify, and it is signed, so we can trust that, if the data itself is valid, the shop name will be correct.

How has this been tested?

Via tests.

Checklist:

  • My commit message follow the pattern described in here
  • I have performed a self-review of my own code.
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added a changelog line.

@paulomarg paulomarg requested a review from a team as a code owner April 25, 2022 14:34
@paulomarg paulomarg force-pushed the deprecate_unnecessary_validate_shop_method branch from ebf2241 to 259ec46 Compare April 25, 2022 14:36
@paulomarg paulomarg requested a review from andyw8 April 25, 2022 14:48
@paulomarg paulomarg force-pushed the deprecate_unnecessary_validate_shop_method branch 3 times, most recently from f047d77 to 57b9a1a Compare April 25, 2022 18:12
@paulomarg paulomarg force-pushed the deprecate_unnecessary_validate_shop_method branch from 57b9a1a to 57e4f98 Compare April 25, 2022 18:13
@paulomarg paulomarg merged commit 71bab21 into main Apr 25, 2022
@paulomarg paulomarg deleted the deprecate_unnecessary_validate_shop_method branch April 25, 2022 18:17
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems April 26, 2022 17:03 Inactive
@shopify-shipit shopify-shipit bot temporarily deployed to rubygems July 4, 2022 16:27 Inactive
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