I have a Shopify store requiring users to log in for checkout. I’m using the Storefront API to authenticate and passing the token and email to the cart, but users are redirected to the login screen at checkout instead of completing their purchase. #1126
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Contributor License Agreement (CLA) | |
on: | |
pull_request_target: | |
types: [opened, synchronize] | |
issue_comment: | |
types: [created] | |
jobs: | |
cla: | |
runs-on: ubuntu-latest | |
permissions: | |
actions: write | |
pull-requests: write | |
if: | | |
(github.event.issue.pull_request | |
&& !github.event.issue.pull_request.merged_at | |
&& contains(github.event.comment.body, 'signed') | |
) | |
|| (github.event.pull_request && !github.event.pull_request.merged) | |
steps: | |
- uses: Shopify/shopify-cla-action@v1 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
cla-token: ${{ secrets.CLA_TOKEN }} |