Module: ShopifyApp::RedirectForEmbedded
- Includes:
- SanitizedParams
- Included in:
- EnsureInstalled, SessionsController, ShopAccessScopesVerification
- Defined in:
- lib/shopify_app/controller_concerns/redirect_for_embedded.rb
Class Method Summary collapse
Class Method Details
.add_app_bridge_redirect_url_header(url, response) ⇒ Object
7 8 9 10 |
# File 'lib/shopify_app/controller_concerns/redirect_for_embedded.rb', line 7 def self.add_app_bridge_redirect_url_header(url, response) response.set_header("X-Shopify-API-Request-Failure-Reauthorize", "1") response.set_header("X-Shopify-API-Request-Failure-Reauthorize-Url", url) end |