unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Adrià Garriga-Alonso" <adria.garriga@gmail.com>
To: 54913@debbugs.gnu.org
Subject: bug#54913: OAuth2 ELPA package: out-of-band authentication deprecated
Date: Wed, 13 Apr 2022 10:14:17 +0200	[thread overview]
Message-ID: <87k0btl6xq.fsf@gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1235 bytes --]

This report concerns the [oauth2 package on ELPA]. Hope that’s OK. It affects
downstream users of it such as `org-gcal' and `org-caldav'.

The authentication scheme used by `oauth2' has been deprecated by Google
services. I have a patch to update to the newer, recommended way. The OAuth2
maintainer said it would be a good addition, but I should find someone on ELPA
that is happy to review it in order to contribute.

Is there someone willing to review and merge a potential patch?


More details:

The current authentication scheme is out-of-band authentication; a code is
displayed in the browser and the user copies it into Emacs. The new scheme
involves spinning up an (extremely simple) HTTP server on Emacs to handle a
redirect in the browser.

I have an [implementation of the HTTP authentication handler], and emailed Julien
Danjou (the `oauth2' maintainer) about it. Julien said it would be a good
incorporation to the package but they don’t have time to review it.


Thank you for your time.

Adrià Garriga-Alonso


[oauth2 package on ELPA] <https://elpa.gnu.org/packages/oauth2.html>

[implementation of the HTTP authentication handler] <https://github.com/rhaps0dy/emacs-oauth2-auto/>

[-- Attachment #1.2: Type: text/html, Size: 4238 bytes --]

             reply	other threads:[~2022-04-13  8:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-13  8:14 Adrià Garriga-Alonso [this message]
2022-04-14  1:16 ` bug#54913: OAuth2 ELPA package: out-of-band authentication deprecated Lars Ingebrigtsen
2023-09-13  1:47   ` Stefan Kangas
2023-09-13 16:26     ` Adrià Garriga-Alonso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87k0btl6xq.fsf@gmail.com \
    --to=adria.garriga@gmail.com \
    --cc=54913@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).