Skip to content

Is there any way to include shopify_app concerns conditionally in AuthenticatedController? #153

@remy727

Description

@remy727

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions