How can we use auth2.0 for Yahoo or Hotmail ?

+1 vote
asked Aug 9, 2016 by satarupa2511 (170 points)
retagged Nov 17, 2016 by Tomas Knopp

Hi ,

I have tried the Gmail auth2.0 sample code using Rebex and it is perfectly working.

Is there any sample code available for Yahoo or hotmail or Office Outlook 365?
Is there any generic auth mechanism avaliable for all the mentioned webmail provider ?

Thank you,
Satarupa

Applies to: Rebex Secure Mail

1 Answer

0 votes
answered Aug 10, 2016 by Pavel Matyska (9,680 points)

Hi,

there is no generic OAuth mechanism available for all mentioned webmail provider. It is not possible due to the fact how you "enable" OAuth authentication in your application. Basically, you need to register your application at your webmail provider and this is provider depended.

That said, I have checked IMAP servers of mentioned providers and all of them supports OAuth2 authentication, so if you register your application at each of those providers and get the OAuth2 token based on theirs "howto's", you should be able to login to theirs IMAP servers. Here is a link to Microsoft's blog where you can read what you need to make OAuth2 authentication possible in your application.

...