Getting 'User is not logged in with Google' error when logged in

Hi

I’ve been using the ‘login with Google account’ feature in my apps without issue up until now.

However, a few days ago, I started getting this error intermittently after clicking on my logged-in Google account:

login-error

It doesn’t happen every time, but about half the time.

If it happens, when I try a second time, I am able to log in.

This is happening across multiple apps which use the login feature.

Any ideas for what might be happening here?

Hi @richard.lewis,

Thanks for flagging this - it was an issue in Anvil. We have deployed a partial fix which should make logging in with Google work reliably through the anvil.users.login_with_form() again, and we’ll be shipping a full fix soon. I will update this thread when that is done.

[Moved to bug reports]

1 Like

We have now deployed a full fix for this issue. Thanks for your patience - please let us know if any problems persist!

@daviesian just FYI I got this error once:

Error Message: User is not logged in with Google
Error Type: <class 'anvil.server.InternalError'>
JavaScript Stack Trace: None
User: Anonymous
Anvil Session ID: WCIIXMSXTUYILJRNI53JJTEBM5FH22RU
Client Location: Kyiv, Ukraine
Execution Environment: server_module
Time: 2024-10-24 12:48:28.832422+00:00

Don’t need this fixed, just thought I’d let you know :slight_smile: