Using the current session (logout) flow is apperently against Shopify TOS
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 1.9k
- Forks
- 739
- Avg merge
- 21h 2m
- Merged PRs (30d)
- 1
Description
Currently, when a store logs out of the app, in an embedded app, the store url is infered from the referer url, and the user is redirect to the login screen with the store url (of the logged out store) already prefilled.
On a non-embedded app, the user is redirected to the login screen where they have to re-enter the store url:
I just got an email from the Shopify app review team, saying my app will be delisted if it stays like this.
They are linking to this document: https://shopify.dev/docs/apps/launch/app-requirements-checklist#c-setup-and-merchant-workflows
Which says:
Apps must be installed and initiated only on Shopify services. Your app must not request the manual entry of a myshopify.com URL or a shop's domain during the installation or configuration flow.
Is that even possible on non-embedded apps?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with app/views/shopify_app/sessions/new.html.erb and trace the current embedded and non-embedded logout/session flow. Determine whether the non-embedded flow can comply with the linked Shopify requirement without manual store URL entry; done means the affected login path no longer requests that entry and the existing redirect behavior is understood.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100