Have your say in Community Polls: What was/is your greatest motivation to start your own business?

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

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

carecare
Shopify Partner
13 3 7

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 4 (4)

tahmidkabir
Shopify Partner
3 0 1

Hey, Did you managed to solve this problem? I am facing this problem too.

ghanshyam-codeb
Shopify Partner
4 0 0

Did you resolve it?

ghanshyam-codeb
Shopify Partner
4 0 0

ghanshyamcodeb_0-1720534354131.png




I am also fecing same issue here 

could any one help me about this

prashantjha
Shopify Partner
1 0 0

I am also facing same issue.

@carecareDid you resolve it?