OAuth install bounces me toward path '/admin/auth/undefined'

Shopify Partner
3 0 0

I'm writing a Shopify OAuth app using Spring Boot and Spring Security OAuth.  I was able to figure out how to authorize the installation of my app, but something weird is happening.

When the user is sent to the `/admin/oauth/authorize` path, and then they login, they get redirected to the /admin/auth/undefined path. If the user tries to go to my app's home page a second time, the redirection works and the prompt to install appears as expected.

So first, the user goes to:

Then the app redirects them to:

Shopify prompts for a login.  Once the user logs in, they end up at:

What can I do to fix this?

Shopify Staff
Shopify Staff
277 1 52

Hey Brad,

Could you provide me with the install link, so I can test this myself? I'm wondering if this only takes place when the user isn't logged in to the admin because of the online access mode.


- Jordan

Shopify Partner
3 0 2

Did you ever figure this out? I've just started seeing this too.

1 Like
5 0 3

Hi all, I am experiencing this as well after deploy my app on Heroku