Skip to content

Opening the App from Shopify Admin goes back to OAuth.php every time even the app is installed #42

@chetanmenaria

Description

@chetanmenaria

Hi,
I know this questions has been asked before but believe me i have read every issue in the repo.
I've installed my app successfully and added an auto sign-in functionality to my app already, but........

My first question is what should be my App URL (Your recommendation)?

  1. https://mysite.com/app/oauth or
  2. https://mysite.com/app/ or
  3. https://mysite.com/app/install

My problem is if i use the https://mysite.com/app/install it'll redirected back to the same url.

If i use the https://mysite.com/app/ URL which i like & it loads perfectly in the Shopify Admin but then the app will never be installed because it won't load the oauth.php

If it use the https://mysite.com/app/oauth then the App is getting installed but the main problem with this is that whenever i try to go to the App from the Shopify Admin the iFrame loads after redirecting from the https://mysite.com/app/oauth URL to the index.php so how do i prevent it? how can i click on the App from the Shopify Admin and it loads in the iFrame immediately instead of going to https://mysite.com/app/oauth and then create the iFrame?

One more thing
I checked most of the apps in the Shopify App Store has the URL https://apps.shopify.com/appname/install & after that it redirect quickly to oAuth.php but when i do that, i mean https://mysite.com/app/install?shop=xxxxxx.myshopify.com it loads You are about to be redirected to https://mysite.com/app/oauth where the installation process will begin. i need help with that too.

Hope it's not much trouble, Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions