-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GMail compatibility without app passwords #6454
Comments
This is an issue now! How could something like this not being resolved in time? Gmail is sadly used by lots of NC users - I am quite sure. Also interesting nobody made any statement so far. It took me quite long to even realize this too, but still - should have been addressed already |
My personal account still works. |
@ChristophWurst |
Right, I'm using 2FA with an app password. |
And this is the issue, if you have not setup 2FA (for whatever reason) there is no app password option in gmail. Therefor the authentication needs to be fixed for those accounts. |
any news about that? I don't think we can use Gmail anymore |
Until someone is assigned I think we should hope no movement. |
do you know about another way to connect Gmail to Nextcloud then? |
No, I am also stuck with this issue :( |
XOAUTH2 support will be added via #6819. I have figured out what it takes to register Mail as a Google OAuth application. We will need admin settings and an adapted setup dialogue. Moreover there needs to be a mechanism to detect and replace expired access tokens using the refresh token. I haven not been able to trigger an expiration myself, but waiting until Monday morning could help. Simply removing the service from my Google accounts gives a generic failed authentication response
|
I causes a generic Invalid credentials. So we need to keep book about the token validity and do the refresh proactively. |
POC is at #6830. Linking the Nextcloud Mail account to Gmail works. Keeping the access token updated works. The open todos are mostly about handling all possible conditions during the setup and making sure the app stays usable with this new auth option. |
#6830 (comment) sneak preview |
I have the feeling that also outlook.com or MS365 accounts cannot be added to Mail right now. |
Related: #6591 |
Google no longer or at least it doesnt show up when I got there a way to add an "App" Password. I keep getting this setting is no longer available. |
Any news when this is getting released ? |
I can't give an ETA at this point. It's ongoing work but there are lots of things happening at the time. |
great, like to hear that lots of things are happening :D thanks |
Any timeframe when this gets released, it is almost a year now. |
2022-12-05 |
ok, I found the hint in the release notes but really struggling in getting this working. |
OAuth is technical. We can't change that. Selfhosting and OAuth is always a bit painful. |
Would be great to have more guidance, like how to setup the "OAuth-Zustimmungsbildschirm" correctly and so on |
Hi, I have been trying to find the right place to write this, and here is my best bet I think. We have set up an OAuth consent screen and a client. What happens when trying to log in with the @digitalrevisor.no domain I get a message below: IMAP username or password is wrong and the consent screen does not appear. Is the login for Mail just looking for @gmail.com before it opens the consent screen? Should I create a new issue for this? |
Gmail OAuth is only used for accounts hosted by Google. Yours does not seem to be In any case, Github is for bugs. Please open a topic at https://help.nextcloud.com/c/apps/mail/35 for community support. |
Noted. Only Google Oauth implementation we have ever seen not accepting Google accounts with a different domain than @gmail.com is not a bug, but a feature I guess then. Note: I believe that this is the reason why one has a separate sign-in with a Google button: It is in no way uncommon for organizations to use their own domains for both Google and Microsoft accounts. |
Are you sure you email is hosted by gmail? If so, you can try to manually set up the connection with gmail's smtp and imap configuration (without password), and the authorization screen will pop up. |
GoogleOauthLogin.mp4Her is a video logging in via Google Oauth to Google data migration app in Nextcloud with a @digitalrevisor.no domain. |
Is your feature request related to a problem? Please describe.
GMail considers the integration from this Mail app to be 'less secure'. They claim on their site that they will no longer support apps that log into your mail account with only user name and password.
https://support.google.com/accounts/answer/6010255?hl=en
Describe the solution you'd like
I believe that if the mail connector also asked for and presented an App Password to GMail, that qualifies as a more secure way to connect.
https://support.google.com/accounts/answer/185833
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: