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?
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.