-
-
Notifications
You must be signed in to change notification settings - Fork 447
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
Error with Google Tokens #418
Comments
Do you have |
It's one of those shell mysteries... What gives |
@gilleslamiral I've started to try it this morning when I generate with: ./oauth2_google.py --user=USER@DOMAIN.COM --client_id=6395189-hbl1cs6k98a2aum.apps.googleusercontent.com --client_secret=GOCSL_sEckDXEFx --generate_oauth2_token And i copy and past the URL your script gives me i get this error in google: Where can I find the right guide on how to test this, so that we do not need to enable 2FA when doing a migration and creating App Passwords. We do Many M365 Migrations that works great but Google is a pain (at the moment :-D ) |
The script to run is |
You may use an old release. Update with: |
@gilleslamiral Still having the same issue just tried again: The Advanced button that is stated in your Documentation is not available as you can see. |
Do you use
https://imapsync.lamiral.info/oauth2/oauth2_gmail/generate_gmail_token |
Ok |
I have the same problem: when I try using According to the Google documentation, they allow a certain number of users to be shown a warning they can click past, but when you reach a "user cap", everyone else gets blocked:
So this is not going to work for other people unless you follow the How to submit your app for verification steps. |
Ok. |
Google has now blocked all OOB OAuth2 flows:
The current scripts unfortunately can't function even if you use your own Client ID and Secret. |
The script |
The script I'm unfortunately not sure what the replacement should be though, the script would have to start a HTTP listener for that at localhost, no? |
So I was wrong about OOB. I don't understand why this still works for me.
Yes. I wrote this for Office365: It should work for Gmail, changing the values. I haven't trie it. |
Cannot seem to get the correct google Oauth tokens what can this be.
The file is there...
The text was updated successfully, but these errors were encountered: