Why am I stuck in an authentication loop when accessing admin options?

carecare
Shopify Partner
13 3 1

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:

1. land at /app

2. redirect to /auth/login

3. redirect to /app/additional

4. submit form and call action function

5. stay on /app/additional

 

Actual behavior:

1. land at /app

2. redirect to /auth/login

3. redirect to /app/additional

4. submit form and call action function

5. /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!!
Replies 0 (0)