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

🐛 fix session bleeding between shops #940

Merged
merged 2 commits into from
Aug 30, 2019
Merged

Conversation

marutypes
Copy link
Contributor

@marutypes marutypes commented Aug 30, 2019

Description

Fixes #727

This PR fixes a bug where you could login to an app using @shopify/koa-shopify-auth on one store and then still have access to the app in context to the first shop on other stores you had open in the same browser.

Tophat instructions

  • clone the repo
  • fetch/checkout this branch
  • yarn build && yarn tophat ../some-app-i-have
  • try the reproduction steps in the linked issue

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above

PS:
Check the gem for a reference on how the same check is made there

Copy link
Contributor

@katiedavis katiedavis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✨you really did clean it up a lot!
I've also 🎩'd on a couple of stores

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.

Koa Session Cookie Blocking Reinstallation
2 participants