Hey y’all!
I’ve been running into a frustrating issue where requesting the admin option from shopify sends me into an infinite authentication loop.
Note: I am working off the remix boilerplate template
Expected behavior:
-
land at /app
-
redirect to /auth/login
-
redirect to /app/additional
-
submit form and call action function
-
stay on /app/additional
Actual behavior:
-
land at /app
-
redirect to /auth/login
-
redirect to /app/additional
-
submit form and call action function
-
/app/additional form loader runs until
const { admin } = await authenticate.admin(request); is called
6. redirect to /auth/login
7. enter credentials
8. repeat steps 5-7 until tempted to chuck laptop out window
Any theories as to what might be causing this behavior/what I can investigate to resolve?
Thanks!!
