-
Notifications
You must be signed in to change notification settings - Fork 724
Open
Description
Overview/summary
Hi,
We use Turbolinks and have no trouble using UJS redirect. However, if we need to do a html-based redirect, what is the proper way to do this?
In shopify_app 22.2.1, we used to do the following by adding the shop params already in the original request
In controller (after authentication):
respond_to do |format|
format.html {
@redirect_to = edit_orders_path(shop: params[:shop])
}
end
Then in html.erb, we have:
Turbolinks.visit("<%= @redirect_to %>");
However, in shopify_app 22.5.1, that doesn't work we get ShopifyAPI::Errors::InvalidJwtTokenError, with message "Error decoding session token"
Any suggestions?
Metadata
Metadata
Assignees
Labels
No labels