Hi there,
We recently swapped over to using the toml file instead of the web UI management process online. However for my dev test stores I now keep getting the following error:
Oauth error invalid_request: The redirect_uri is not whitelisted
This was all working fine before. I can confirm the redirect urls are valid and working as when I create a new shopify store (non dev), I can connect fine and don’t get that issue.
Here’s my toml file (I’ve had to remove some URLS as this site only allowed 5 urls).
Learn more about configuring your app at
client_id = “153032f6cd5eb07cda5ed438c36abb49”
name = “Workshop by Bikebook”
application_url =
embedded = false
handle = “bikebook”
[build]
automatically_update_urls_on_dev = true
[webhooks]
api_version = “2024-07”
[[webhooks.subscriptions]]
uri = …
compliance_topics = [ “customers/redact” ]
[[webhooks.subscriptions]]
uri = …
compliance_topics = [ “customers/data_request” ]
[[webhooks.subscriptions]]
uri =…
compliance_topics = [ “shop/redact” ]
[auth]
redirect_urls = [
“ Workshop by Bikebook | Bike Shop Management Software ,
“ Workshop by Bikebook | Bike Shop Management Software ,
“http://192.168.1.114:3500/configuration/pos-integration/shopify”,
“http://localhost:3500/configuration/pos-integration/shopify”
]
[pos]
embedded = true
[app_preferences]
url = “ Workshop by Bikebook | Bike Shop Management Software
[access_scopes]
scopes = “read_draft_orders,read_products,read_customers,read_orders,write_draft_orders,write_products,write_customers,write_orders,read_payment_terms”
Are there some new restrictions on how this all works or what’s going on?
This is the part in the url of the page where I get that error so you can see the url is definitely correct and seems to be something to do with dev accounts?
&redirect_uri=
Hopefully you can shed some light on what’s changed.
Kind regards,
Sam

