Hello, I am trying to run https://github.com/Shopify/sample-django-app on localhost using shopify, but I am getting error
MultiValueDictKeyError at /auth/shopify/callback
'code'
My .env file is located in root directory, it contains ACCESS_KEY, SECRET_KEY, API_URL and SCOPES. I also modified the APP URL and Allowed redirection URL(s) with ngrok url.
Here is the error on the server terminal:
Internal Server Error: /auth/shopify/callback
Traceback (most recent call last):
File “/home/tudor/.local/lib/python3.10/site-packages/django/utils/datastructures.py”, line 84, in getitem
list_ = super().getitem(key)
KeyError: ‘code’
What I am doing wrong? Thank you