Shopify / Shopify/shopify-app-template-php

POST request with csrf-token

Open
#320 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Stale
Dominant language
PHP
Stars
340
Forks
108
PR merge metrics
No merged PRs in 30d

Description

How to make a post request with csrf-token

=======================================
Sending a post request while the action takes place in react front-end and receiving the laravel backend. With csrf-token and shop-auth.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue mentions a React frontend, a Laravel backend, and POST requests using a csrf-token and shop-auth, but names no files or tests. First clarify the failing request and inspect the frontend-to-backend authentication flow. Done should mean the POST request works with both tokens and the required behavior is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php, react
Domain
api, authentication, full-stack
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.