Author |
|
JPS Newbie
Joined: 25 September 2012
Online Status: Offline Posts: 2
|
Posted: 25 September 2012 at 1:23pm | IP Logged
|
|
|
I'am currently trying to perform an OAUTH2 login with Mailbee. I obtained a valid access token via DotNetOpenAuth. For the login via Mailbee I am using one of the following approaches:
* Custom SASL method: This works fine if I return in GetSaslId() "XOAUTH" + the initial client response as described here: https://developers.google.com/google-apps/gmail/xoauth2_protocol. I can see in the log file that I get an OK from the server. However I must return something in the following CreateNextClientAnswer(), but no matter what I return, I get an error. As far as I understand the custom SASL method is not designed for this immediate response (SASL-IR) ... Am I missing something here? Is it possible to make this work??
* Try to login via BeginExecuteCustomCommand(). This works fine either, but because I am performing a login via this custom method MailBee throws an exception on any further call because it thinks I am not logged in. I have found no possibility tell MailBee about the successful login.
This is a very urgent matter, because currently OAUTH v1 is not working with MailBee either and the OAUTH access to GMail was the only reason we purchased MailBee!!
Kind regards
JPS
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 25 September 2012 at 2:26pm | IP Logged
|
|
|
I will check this with the developers, but cannot guarantee anything. MailBee.NET Objects, just like any other commercial product we offer, is available as full-featured 30-days trial exactly for the purpose of making sure the product meets your requirements prior to obtaining a license.
Please note that this forum is a community resource. If you require help from AfterLogic team directly, you should use our HelpDesk instead.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
JPS Newbie
Joined: 25 September 2012
Online Status: Offline Posts: 2
|
Posted: 26 September 2012 at 1:47am | IP Logged
|
|
|
Hi Igor,
thanks for the reply. I have send the question to the HelpDesk.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 21 December 2012 at 12:02am | IP Logged
|
|
|
The developers have come up with a solution which allows using OAuth 2.0 with MailBee.NET Objects. In addition to the latest build of MailBee.NET.dll, you'll need to use DotNetOpenAuth library. Sample code is available here.
To be able to use OAuth2 with GMail, you will need to register your application as described here.
Hope this helps!
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6103
|
Posted: 21 December 2012 at 1:15am | IP Logged
|
|
|
Note that this build of DotNetOpenAuth library requires .NET Framework 3.5 or above.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|