Excorporate and OAuth 2.0

I recently released Excorporate 1.1.0 to GNU ELPA.  Excorporate allows Emacs users to retrieve calendar entries directly from an Exchange server such as Office 365, without the need for external programs.

The latest release adds experimental OAuth 2.0 support, via a new library I wrote and published to GNU ELPA, called url-http-oauth. With Excorporate 1.1.0, I can access Office 365 again.  A while ago, the server to which I connect had disabled password-based authentication — including application-specific passwords.

I haven’t heard any success reports from users yet, so I wanted to mention the update on my blog. Soon I’ll write a followup post about my thoughts on OAuth 2.0 from a client implementer perspective.

Join the Conversation

6 Comments

    1. Sorry to ask, but I relatively new to Emacs.
      I am just trying to understand what is “login_hint” and “client_identifier”. Can you share sample configuration, and process about how and where can I find it?

    1. It is basically impossible to write general documentation for OAuth 2.0 configurations, unfortunately, because every installation will have different restrictions, subject to vendor defaults, administrator preferences and organizational policies.

      Did you see the Excorporate Info manual? You can find the vague OAuth 2.0 blurb at C-h R excorporate RET m configuration RET.

      You can also look at the url-http-oauth-demo.el file that ships alongside url-http-oauth.el. It has a fully-worked OAuth 2.0 configuration example albeit against a well-understood user-respecting Free Software OAuth 2.0 implementation (Sourcehut’s). That may give you some hints as to how to configure url-http-oauth.el against your organization’s server.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.