#Mobile login does not work while desktop does | auth error 401

16 messages · Page 1 of 1 (latest)

gloomy snow
#

Hi! Weirdly I do can login on desktop with my customer profile but not on mobile. On mobile after submitting my credentials a loading spinner comes, then I again see the login page, no errors on client side and in the server logs following error comes: GET /store/customers/me HTTP/1.1" 401 Any thoughts how to fix this?

bronze olive
#

Iphone?

gloomy snow
#

yes

bronze olive
#

Is your storefront and backend under the same main domain?

gloomy snow
#

no

bronze olive
#

It should be as safari blocks third party cookies.

#

Or ios

gloomy snow
#

I tested it with firefox and brave...

bronze olive
#

It's probably ios fault

gloomy snow
#

Ah ok, then iOS could make sense... so you would suggest to move storefront and backend under the same domain?

bronze olive
#

Read the Default Cookie Policy

gloomy snow
#

Will do so! Thanks!

bronze olive
gloomy snow
#

Thanks a lot!