gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

Operations in the video will trigger app reauthorization #500

Closed wuxi889 closed 4 years ago

wuxi889 commented 4 years ago

i am a chinese developer, my english is poor. the package will trigger app re-authorization when i use the same app in both stores and in same broswer. juse like problem in the video.

video https://youtu.be/pI2Z08_4mGk

Expected Behavior

both stores will not affect each other when using the same app in same broswer

Current Behavior

trigger app re-authorization

Failure Information

none

Steps to Reproduce

Please provide detailed steps for reproducing the issue.

  1. log in two stores (has installed app that use laravel-shopify package)
  2. switch shops use the app
  3. trigger app re-authorization

Context

Failure Logs

none

gnikyt commented 4 years ago

Not sure I follow. Re-authorization is expected as the cookie is the same for both.

Re-authorization is the only method I have since modifying the cookie name per store (ideal) is not easily done with Laravel.

wuxi889 commented 4 years ago

Not sure I follow. Re-authorization is expected as the cookie is the same for both.

Re-authorization is the only method I have since modifying the cookie name per store (ideal) is not easily done with Laravel.

Thanks for the reply.