emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Extending auth-source and plstore for more XOAUTH2 scenarios


From: Björn Bidar
Subject: Re: Extending auth-source and plstore for more XOAUTH2 scenarios
Date: Thu, 18 May 2023 03:04:10 +0300
User-agent: Gnus/5.13 (Gnus v5.13)

Hello,

I'm not sure how exactly that relates to this issue. But sasl.el that
was taken from FLIM, FLIM supports XOAUTH2.

FLIM is used in Wanderlust for this kind of purpose I think it.
It would make sense to import sasl-xoauth2 and sasl-scram for
completeness into Emacs.

I worked with signon-plugin-oauth2 in the past to implement the
Microsoft OAuth2 Workflow.
I have a few pointers regarding that:
- Microsoft's way of doing OAuth2 with a clientid rather than a client
  secret is ironically much friendlier to FOSS programs such as
  Emacs. Emacs can simply write the clientid inside the sources after
  registering an AppID at Microsoft. An example where this was already
  done is KDE PIM/Akonadi.
  No further intervention is needed on the user side besides pointing
  the user to the webpage to give Emacs the permission to access all the
  requested areas.
- I think it would make sense to see how Wanderlust implemented OAuth2
  for Microsoft.
- Take pointers from other existing implementations that try to add Microsoft
  Oauth to Gnus.

Br,

Björn Bidar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]