gnikyt / laravel-shopify

A full-featured Laravel package for aiding in Shopify App development
MIT License
1.24k stars 374 forks source link

No authenticated user or shop domain #1168

Closed pengbo37877 closed 2 years ago

pengbo37877 commented 2 years ago

Failure Logs



No authenticated user or shop domain

{
  "exception": {
    "class": "Osiset\ShopifyApp\Exceptions\MissingShopDomainException",
    "message": "No authenticated user or shop domain",
    "code": 0,
    "file": "/var/task/vendor/osiset/laravel-shopify/src/Traits/AuthController.php:33"
  }
}
KingFisch commented 2 years ago

I have the same problem: Laravel version 7.30 and 8.83 tested, both same issue

Osiset\ShopifyApp\Exceptions\MissingShopDomainException No authenticated user or shop domain

Osiset\ShopifyApp\Http\Controllers\AuthController::authenticate C:\xampp\htdocs\test\vendor\osiset\laravel-shopify\src\Traits\AuthController.php:33

yousuf-mean3 commented 2 years ago

Having the same problem with Laravel version 8, unable to get Auth::user() use Illuminate\Support\Facades\Auth; $shop = Auth::user();

inaryu commented 2 years ago

Hi @pengbo37877 @KingFisch @yousuf-mean3

When does this error occur?

d-shannon commented 2 years ago

Hi @pengbo37877 ,

Having the exact same issue there. I'm actually running Vapor also (not sure if it's related).

The unfortunate timing of this error, it seems to occur after customer approves charge for installation. I myself can't seem to replicate it. Have you got any further with it?

Thanks

yousuf-mean3 commented 2 years ago

Hi @pengbo37877 @KingFisch @yousuf-mean3

When does this error occur? This occurs in controller

nashsaint commented 2 years ago

Am getting this issue now. anyone able to find a solution ?

KingFisch commented 2 years ago

Hi @pengbo37877 @KingFisch @yousuf-mean3

When does this error occur?

As soon you open the project in browser. In shopify its mostly working. Any ideas?

Kyon147 commented 2 years ago

@KingFisch fullscreen app is not currently supported with this package. It has to be in the shopify admin or you will get this error.