Closed robitar closed 12 years ago
Hi,
what is the difference between normal Login and SaslOAuth? You can use both to login to Gmail.
Login requires the user to give you their Google account password.
So SaslOAuth doesn't requires it? How does it make authentication then?
Google for oauth and you'll see how it works, the basic idea is that you redirect the user to google/facebook etc, where they sign in securely, then you get back a token which lets you access the users data.
I see.
Is this something that Gmail notifier uses also?
I cant say for sure by my guess is that all Google services support oauth.
Any chance of getting this pulled so I can go back to using the nuget package?
Sorry for the delay! I'm about to push up 1.6.1-rc to Nuget.
Awesome! cheers.
Hi, I am using DotNetOpenAuth for generate oauth token for gmail,but when i use it against ae.net login method using 'SaslOAuth' it gives me error "xm001 BAD Invalid arguments supplied to AUTHENTICATE",
Is there any recommended method to get oauth token from gmail?i want a persistent oauth token which i can store for a particular user to access his/her gmail instead for storing passwords.
I had a lot of hassle trying to use DotNetOpenAuth so I ended up just rolling my own implementation to get the auth token, based on the phython script in the Google code samples
Now how come I missed that? d'oh!
Which version of OAUTH you tested? 1.0 or 2.0?
I think Google imap only supports 1.0 at this stage.
have you tested oyauth ? coz its not working for me,giving error "xm001 BAD Invalid arguments supplied to AUTHENTICATE"
IMAP gives you no information on why the auth failed, so I would start testing with trying to access some other scope like the users email, and make sure that all the oauth machinery is working, if that fails it gives you back more information on what went wrong.
Any progress? xm002 NO Invalid SASL argument. c3if23689282ibq.32!!!
Tested against gmail successfully, supply the xoauth base64 string as the 'password' argument to the ImapClient constructor, and specify ImapClient.AuthMethods.SaslOAuth.