-
-
Notifications
You must be signed in to change notification settings - Fork 376
Missing auth url - MissingAuthUrlException #926
Comments
See my comment in 908 |
Did anyone resolved this problem? Tried to fix it multiple times. On former attempts i used ngrok but now switched to laravel-windows and have the same issue. "Missing auth url". |
Sadly not yet. Still struggling with this. @kaya-mikail |
It does indeed save everything in the DB, just not the token. Im using the newest shopify-app config, and changed the webhooks to use GraphQL topics, but nothing solved the problem. |
I don't understand why this problem suddenly occurs. The point this gets weird is that I installed a fresh laravel with this shopify package and it worked without any problem. This was 6 or 7 days ago. |
Can I ask you to create a new laravel application and try to reproduce this error there? then i think i could help you |
PROBLEM SOLVED! The problem seems to be on working / testing local with ngrok or valet-windows. |
So the error was happening because of your development enviroment? |
Please close if solved, thanks :) |
Sadly i havent solved this yet. Will be closed when its solved. |
I just noticed following: Before hitting /authenticate it receives a status 302 from /admin/oauth/grant (shopify). And then its redirected to authenticate with a status 500 and it throws the MissingAuthUrlException. |
Problem found.
|
@KevinSHansen can you explain? I am not able to solve the issue at fresh install. |
@KevinSHansen can you specify about point no.3? I'm testing at local with ngrok and getting the same status 302 and 500. |
thanks working for me ! |
Anymore info here? @KevinSHansen |
I am having the similar issue what did you do to solve it? Please help |
After wasting 4 to 5 hours it was APP_URL issue in .env file if you are using the ngrok then your APP_URL = 'ngrok_url' then it will work. |
For bug reporting only! If you're posting a feature request or discussion, please ignore.
Expected Behavior
The app should install but it doesnt get a URL return
Current Behavior
Its returns MissingAuthUrlException when it tries to return the shop shop.
Failure Information
Stack trace:
{
"class": "Osiset\ShopifyApp\Exceptions\MissingAuthUrlException",
"message": "Missing auth url",
"code": 0,
"file": "/var/www/html/vendor/osiset/laravel-shopify/src/Traits/AuthController.php:47",
"trace": [
"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Controller.php:54",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php:45",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:254",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php:197",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php:695",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:128",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:78",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167",
"/var/www/html/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:49",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:121",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:64",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:37",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:167",
"/var/www/html/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.p
Steps to Reproduce
When installing the app. Ive updated from 16 to 17 and since then it returns this error
Context
Please provide any relevant information about your setup. This is important in case the issue is not reproducible except for under certain conditions.
The text was updated successfully, but these errors were encountered: