How can I resolve issues deploying a private app on fly.io?

Hey, i have some trouble with the app deployment. Im just using the default shopify app template but cant get it to work on a live store. When i try to access the default backend site the server throws:

[shopify-app/INFO] Authenticating admin request

[shopify-api/INFO] Beginning OAuth | {shop: {shopname}.myshopify.com, isOnline: false, callbackPath: /auth/callback}

[info] GET /auth?shop={shopname}.myshopify.com 302 - - 3.483 ms

Can somebody help me?

The steps i took:

  1. i create a new app with npm init @Shopify_77 [email removed]
  2. followed this steps: https://shopify.dev/docs/apps/deployment/web
  3. fly.toml file looks like this:
app = {fly.io appname}
primary_region = "ams"

[build]

[env]
  PORT = "8081"
  SCOPES = ""
  SHOPIFY_API_KEY = { shopify api key from shopify app env show}
  SHOPIFY_APP_URL = {fly.io server url}

[http_service]
  internal_port = 8081
  force_https = true
  auto_stop_machines = true
  auto_start_machines = true
  min_machines_running = 0
  processes = ["app"]
  • flyctl secrets set SHOPIFY_API_SECRET= {npm run shopfy app env shopify api secret}
  • i changed nothing on the app template
  • then i installed it as privat app in into the store

Thanks for your support!