Trying to get property 'name' of non-object #991
-
Hello, maybe you can help me out. I am trying to authenticate my laravel app with Shopify but it won't work. This is the error I receive when calling /authenticate/token: If I only call /authenticate I get this error: I am using Laravel Valet with SSL enabled. https://gist.github.com/poul-kg/b669a76fc27afcc31012aa0b0e34f738 I have no clue, why this isn't working right now, because I did everything in the tutorial. routes/web.php: VerifyCsrfToken.php: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Do you have a paid ngrok subscription ? because I see that you are trying to access the shopify app locally, I think it wont work because your app bridge may be set to true, any way , try to use the ngrok url instead if you are using a free subscription |
Beta Was this translation helpful? Give feedback.
-
I think I found the issue here: #912 I also tried to directly call the root / from my browser. I have no idea how I can access this page through Shopify admin dashboard. |
Beta Was this translation helpful? Give feedback.
-
I finally found it. Everything was correct so far. I thought I could go directly to the browser and install the app instead I had to go through Shopify partner dashboard and click on install. I am a noob! After this, I had an issue with "There's no page at this address". All I had to do, was to remove the shop user in the database and try again. Now it worked and the app is installed! Hope I can help somebody in the future with my thread. This helped me out with my issues: #912 |
Beta Was this translation helpful? Give feedback.
I finally found it. Everything was correct so far. I thought I could go directly to the browser and install the app instead I had to go through Shopify partner dashboard and click on install. I am a noob! After this, I had an issue with "There's no page at this address". All I had to do, was to remove the shop user in the database and try again. Now it worked and the app is installed! Hope I can help somebody in the future with my thread.
This helped me out with my issues: #912