Invalid "redirect_url" scheme

Invalid "redirect_url" scheme

AbrahamGue
Shopify Partner
2 0 0

Hello, I am currently making a custom mobile app for a client (React Native/Expo), and I am having some trouble authenticating the client. Basically when I try opening the WebBrowser for the regular authentication process, I am getting the following error:

Invalid "redirect_url" scheme

I have tried almost everything to get it to work and redirect the user to the login page, to no avail.

The callback URI in the Headless channel is the same one I am using in the redirect_uri field for the authorization step in the documentation. Am I not supposed to use it this way?

 

Callback URI:

shop.{storeID}.app://authorize
Reply 1 (1)

Usama_ShopiDevs
Shopify Partner
1 0 0

A bit hard to guess, but I suspect this could be from the apps codebase.

Have you tried changing `://` to `:/` ?

So your Callback URI should be like this -
shop.{storeID}.app:/authorize

Let me know if it works.

Found it helpful? Please like and mark the solution that helped you.
Slider Revolution - Create sliders, theme sections, banners, videos, pages, advanced animation, and social feeds.
Essential Grid Gallery - Create photo galleries, video galleries, portfolio galleries, product gallery, collection gallery and more.
EasyDisplay: Product Showcase - Easily display collections, related products, discounts, recently viewed items, and best sellers