FROM CACHE - en_header

How to oauth and the Refused to display 'https://foobar.myshopify.com/' in a frame becaus

davidmontgomery
Shopify Partner
2 0 0

Hello Shopify

 

I am having a terrible time installing an app with OAuth and looking for the missing documentation.

 

The end result is a total fail

 

 

 

 

Refused to display 'https://foobar.myshopify.com/' in a frame because it set 'X-Frame-Options' to 'deny'.

 

 

 

 

Here are the details:

From the python API I get the below auth URL

 

 

 

 

https://foobar.myshopify.com/admin/oauth/authorize?client_id=d99a1688bb10f118d47a8f&scope=read_customers%2Cread_orders%2Cread_reports&redirect_uri=https%3A%2F%2F16e7-180-191-xxx-yyy.ap.ngrok.io%2Fwebhooks%2Fshopify%2Fadd&state=whf2203482d688a3e9f9c80760fcbe53&nonce=whf2203482d688a3e9f9c80760fcbe53

 

 

 

 

 

The last redirect after I accept permission is : 

https://foobar.myshopify.com/admin/apps/dude

 

This is where I get the error yet I get access token etc

 

 

Shopify what more can I do... I have spent hours on this.  

 

 

Reply 1 (1)
davidmontgomery
Shopify Partner
2 0 0

Got the zen.  Shopify you need to better articulate the zen of auth because your engineers are trying to be "too cute by half".  Its a total fail on the articulation of the zen of the workflow