Google login failing for person in different time zone

I'm not sure how to troubleshoot this yet. I need to get on a call with my coworker in Germany to see if I can further troubleshoot, but they are hitting a JavaScript error currently while trying to log into Metabase via Google SSO. I am in California, US, and we are hosting our Metabase instance in us-east-1 on AWS.

For now we are working around this; I invited him via email/password setup and that's fine. Here's the message he's seeing in his JS console in Chrome, latest. I marked this as a bug report; not sure if there's a better categorization for this post.

Thanks in advance!

i18n.js:49 
Setting moment.js start of week for Locale en to sunday

api.js:228 
GET https://metabase.ifixit.com/api/user/current 401
(anonymous)	@	api.js:228
value	@	api.js:186
(anonymous)	@	api.js:163
l	@	runtime.js:63
(anonymous)	@	runtime.js:293
(anonymous)	@	runtime.js:118
p	@	app-main.bundle.js?3…a121434012be8981c:2
a	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	api.js:54
(anonymous)	@	api.js:139
l	@	runtime.js:63
(anonymous)	@	runtime.js:293
(anonymous)	@	runtime.js:118
p	@	app-main.bundle.js?3…a121434012be8981c:2
a	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	api.js:85
(anonymous)	@	user.js:15
r	@	createAction.js:16
l	@	createAction.js:22
(anonymous)	@	user.js:26
l	@	runtime.js:63
(anonymous)	@	runtime.js:293
(anonymous)	@	runtime.js:118
f	@	app-main.bundle.js?3…a121434012be8981c:2
a	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	user.js:24
(anonymous)	@	redux.js:202
l	@	runtime.js:63
(anonymous)	@	runtime.js:293
(anonymous)	@	runtime.js:118
v	@	app-main.bundle.js?3…a121434012be8981c:2
a	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	redux.js:200
(anonymous)	@	store.js:23
(anonymous)	@	routes.jsx:164
l	@	runtime.js:63
(anonymous)	@	runtime.js:293
(anonymous)	@	runtime.js:118
zIt	@	app-main.bundle.js?3…a121434012be8981c:2
a	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	app-main.bundle.js?3…a121434012be8981c:2
(anonymous)	@	routes.jsx:163
o	@	TransitionUtils.js:43
(anonymous)	@	TransitionUtils.js:114
(anonymous)	@	TransitionUtils.js:84
c	@	AsyncUtils.js:34
y	@	AsyncUtils.js:51
r	@	TransitionUtils.js:83
runEnterHooks	@	TransitionUtils.js:107
(anonymous)	@	createTransitionManager.js:70
r	@	TransitionUtils.js:74
runChangeHooks	@	TransitionUtils.js:131
c	@	createTransitionManager.js:67
(anonymous)	@	createTransitionManager.js:45
c	@	AsyncUtils.js:41
y	@	AsyncUtils.js:51
j	@	matchRoutes.js:231
u	@	createTransitionManager.js:41
r	@	createTransitionManager.js:222
listen	@	createTransitionManager.js:246
componentWillMount	@	Router.js:102
Lo	@	react-dom.production.min.js:137
Ba	@	react-dom.production.min.js:176
xs	@	react-dom.production.min.js:263
vu	@	react-dom.production.min.js:246
gu	@	react-dom.production.min.js:246
uu	@	react-dom.production.min.js:239
ru	@	react-dom.production.min.js:230
Uu	@	react-dom.production.min.js:281
(anonymous)	@	react-dom.production.min.js:284
lu	@	react-dom.production.min.js:240
Zu	@	react-dom.production.min.js:284
t.render	@	react-dom.production.min.js:290
CN	@	app.js:76
(anonymous)	@	app.js:118

That seems like a normal 401. I would suggest you to post your troubleshooting info and also the backend logs as those should give you more info :slightly_smiling_face:

Will do, thanks! Setting up a meeting time with him.

By the way, we've been working around this by giving people email logins as needed.