The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,649 other followers

Delphi: So XOAuth2 SASL component that can do OAuth2 (via: Asbjørn Heid, G+)

Posted by jpluimers on 2014/08/29

Thanks Asbjørn Heid for sharing this:

I made this!  –

So this week I’ve been mostly trying to add some GMail integration to our app. Google now requires OAuth2 authentication when using IMAP, unless you turn off some scary-sounding security setting on your account.

While Indy‘s IMAP component supports SASL authentication, there was no XOAuth2 SASL component out of the box. Thanks to the new REST stuff in Delphi, the OAuth2 basics where there so just had to tie them together.

In case others might find it fruitful, I’ve shared my results here: https://github.com/lordcrc/IndySASLOAuth2

notes:

–jeroen

via: So this week I’ve been mostly trying to add some GMail integration to our app.….

One Response to “Delphi: So XOAuth2 SASL component that can do OAuth2 (via: Asbjørn Heid, G+)”

  1. Thaddy said

    Hm, I have a dream that someone (l.G) pulls the pearl from that thrash called Indy and put it into a proper library called synapse ;)

    Must not get more ridiculious than that:
    Since OAUTH2 is a must have, temporary revert code to Indy?
    My SLA’s are not suited for Indy. (That’s polite, isn’t it?)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

 
%d bloggers like this: