robwent
February 22, 2023, 10:56pm
1
I’ve had this problem for a while now.
Previously, I was hosting using apache.
When an update is available, clicking on the update link, I don’t get prompted for a password. In the console, I see:
## Confirm password: true, true, false, google, false main.foss.dart.js?v=5.5.70:74102
## 8
I could update using the windows app though, so just did it that way.
Today I moved the site to an nginx server and I get the same messages on the website, but I’m also not able to update through the windows app.
I couldn’t find any related topics (Here or GitHub) but is this a known issue or likely something to do with my setup?
hillel
February 23, 2023, 7:07am
2
Hi,
I think the problem may be caused by using Google OAuth, it isn’t currently supported in the Windows app.
We’ll look into it.
robwent
February 23, 2023, 9:39am
3
I don’t actually use Google OAuth though.
I’ve just checked on another computer and I can update through that windows app. So it’s just in the browser where the link doesn’t do anything. So not a big issue for me.
I think the line it points to in the dart.js file is just for logging things so probably not helpful but:
return}if(typeof console=="object"&&typeof console.log!="undefined"){console.log(a)
hillel
February 23, 2023, 10:14am
4
I wouldn’t expect to see ‘Google’ in the ‘Confirm password:’ line if it was’t being used, that said it isn’t supported anyway in the selfhost app.
@david can you please advise how to check this in the database?
robwent
February 23, 2023, 10:42am
5
In the .env file, the only Google related lines are a maps API key and mail settings for Gmail.
In the admin, I see an option ‘Require Password with Social Login’ which is turned off.
robwent
February 23, 2023, 10:44am
6
Ok, in the users table there’s a column for ‘oauth_provide_id’ which is set to google for my user.
Possibly migrated from v4?
I’ve set it to null but will have to wait for the next update to test.
Most likely resolved!
hillel
February 23, 2023, 10:53am
7
Thanks for digging into it! Yes, I think it could very likely explain the problem.
robwent
February 23, 2023, 11:04am
8
I get the password prompt if I try to force update so looks good.
Thank you!
hillel
February 23, 2023, 11:07am
9
Glad to hear it, thanks for the update!