-
-
Notifications
You must be signed in to change notification settings - Fork 374
Non-Embedded App Support #935
base: master
Are you sure you want to change the base?
Conversation
Bring back ShopSession service and Shopify Auth from v16 1 Middleware alias "verify.shopify" that will now points to 2 different Middlewares (VerifyShopifyExternal or VerifyShopifyEmbedded) depending on the "appbridge_enabled" config.
…at extend the base VerifyShopify middleware
Thanks for this. Things I see that I will attempt to work on...
|
@xplodedthemes Is there anything else missing, just curious on a couple things as its been a while since I touched non-embedded.
|
@osiset That's it, I think.
In v16, there was a login page view that I am currently still using. We can actually use this view for both Embedded and Non-Embedded apps, and it would work fine. The only thing is that, with the non-embed, it will always re-direct to the login page since the session is not saved. It becomes more of an app install page instead of a login page. |
I think app_bridge_enabled option is currently removed in master? I'd have to check, if not, then that makes sense and the combined work can begin. |
@osiset No, the option is still there in master: appbridge_enabled. Note that it's appbridge without underscore. https://github.com/osiset/laravel-shopify/blob/master/src/resources/config/shopify-app.php |
Any updates here? Would love for this to be merged. |
@valdisd Not at this time, still trying to get time to work on this. |
I tested this and when installing this goes into /shopify/authenticate/oauth redirect loop. Works if the installation is done with app bridge enabled and disabled afterwards. Will try to locate the problem. |
@valdisd I believe the code provided by OP works or partially works, I just need it reworked into the existing code to not have duplication. I outlined some points previously, but feel free to poke around :) |
Any update on this? |
@osiset Hi any update on this! I really need this feature |
😏 |
@osiset |
I applied your commits manually in the project, but I still have the following error, you can help me ? |
hi @xplodedthemes composer installed your fork. it's currently stuck in a redirect loop. The url in question is @Aryanhasanzadeh were you able to make any progress? |
Related Issue