Shopify / Shopify/shopify-app-template-ruby
Is there any way to include `shopify_app` concerns conditionally in `AuthenticatedController`?
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 154
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Hello!
I built the embedded app but I also want to let customers access app on the website directly as a standalone app.
Since I have ShopifyApp::EnsureHasSession in AuthenticatedController and controllers are inherited from it, it redirects to login page on a standalone app.
class AuthenticatedController < ApplicationController
include ShopifyApp::EnsureHasSession
end
Is there any way to include shopify_app concerns in only embedded app?
Contributor guide
No contributing guide indexed for this repository
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 by reading AuthenticatedController, ApplicationController, and ShopifyApp::EnsureHasSession to understand how inherited controllers enforce the embedded-app session. The issue does not name a target file, test, or acceptance criteria; confirm the expected standalone-app behavior and how conditional inclusion should be verified before estimating implementation work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- authentication, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100