Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Function to authenticate flow requests #987

Merged
merged 6 commits into from
Feb 6, 2024
Merged

Function to authenticate flow requests #987

merged 6 commits into from
Feb 6, 2024

Conversation

byrichardpowell
Copy link
Contributor

@byrichardpowell byrichardpowell commented Sep 15, 2023

WHY are these changes introduced?

We currently don't support Flow extension requests properly. While they use an HMAC signature similar to webhooks, they don't have all of the same headers, so their validation is slightly different.

WHAT is this pull request doing?

Adding a new way of supporting Flow extension requests under shopify.flow.validate.

Type of change

  • Minor: New feature (non-breaking change which adds functionality)

Checklist

  • I have used yarn changeset to create a draft changelog entry (do NOT update the CHANGELOG.md file manually)
  • I have added/updated tests for this change
  • I have documented new APIs/updated the documentation for modified APIs (for public APIs)

@paulomarg paulomarg changed the title [WIP] - Function to authenticate flow requests Function to authenticate flow requests Jan 30, 2024
@paulomarg
Copy link
Contributor

paulomarg commented Jan 30, 2024

MD link checks are failing because the link from the changelog to the docs will only be correct after this is merged.

Ended up updating the process to ignore changeset files during the link checks. If any broken links are introduced, they'll show up in the release PRs :)

@paulomarg paulomarg self-assigned this Jan 30, 2024
@paulomarg paulomarg requested a review from lizkenyon February 6, 2024 16:42
@paulomarg paulomarg merged commit 9c41d91 into main Feb 6, 2024
10 checks passed
@paulomarg paulomarg deleted the authenticate-flow branch February 6, 2024 17:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants