Using app bridge navigation for programmatic internal redirects does not work. It doesn't seem to pass the session with the call. When I use it on my remix app I am redirected to a login screen. It should just navigate to the specific path that it's being called with.
To Reproduce
Steps to reproduce the behaviour:
Create a programmatic redirect in a remix app ( open('/app?foo=bar', '_self'))
App bridge redirects to the login view instead of navigating to /app inside of the embedded application
Expected behaviour
Calling open('/path', '_self') should navigate to the argument path inside the embedded application experience
Contextual information
Packages and versions
List the relevant packages you’re using, and their versions. For example:
Does anyone have a suggested work around or more information on this issue? It's really blocking development on my project and I just want to make sure I am not doing something silly that's easily fixable.
Describe the bug
Using app bridge navigation for programmatic internal redirects does not work. It doesn't seem to pass the session with the call. When I use it on my remix app I am redirected to a login screen. It should just navigate to the specific path that it's being called with.
To Reproduce
Steps to reproduce the behaviour:
open('/app?foo=bar', '_self')
)Expected behaviour
Calling open('/path', '_self') should navigate to the argument path inside the embedded application experience
Contextual information
Packages and versions
List the relevant packages you’re using, and their versions. For example:
@shopify/app-bridge-react
@4.1.2
@shopify/polaris
@13.0
Platform
Additional context
Using Shopify Remix application template