gnu-emacs-sources
[Top][All Lists]
Advanced

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

[GNU ELPA] Oauth2 version 0.17


From: ELPA update
Subject: [GNU ELPA] Oauth2 version 0.17
Date: Fri, 30 Aug 2024 17:03:26 -0400

Version 0.17 of package Oauth2 has just been released in GNU ELPA.
You can now find it in M-x list-packages RET.

Oauth2 describes itself as:

  ================================
  OAuth 2.0 Authorization Protocol
  ================================

More at https://elpa.gnu.org/packages/oauth2.html

## Summary:

  Implementation of the OAuth 2.0 draft.

  The main entry point is `oauth2-auth-and-store' which will return a token
  structure.  This token structure can be then used with
  `oauth2-url-retrieve-synchronously' or `oauth2-url-retrieve' to retrieve
  any data that need OAuth authentication to be accessed.

## Recent NEWS:

Summary of changes to oauth2.el
-------------------------------

(For changes of 0.16 and older please check the git history of the
repository of oauth2.el.)

* 0.17

** Changes to plstore id generation and needs to reacquire refresh_token

The generation of plstore id used to include `auth-url', `token-url',
and `scope'.  Now `client-id' is also included.  This is required to
support multiple accounts of some providers which use the same
`auth-url', `token-url', and `scope' (e.g. Gmail), or the generated
plstore id is not unique amount accounts.  Adding `client-id' solves
this problem.

The hash function of calculating the plstore id has also changed from
MD5 to SHA512 to be more secure.

As a result, users of oauth2.el will need to redo the authentication
process to get a new refresh_token when upgrading from older version
to 0.17.

# Local variables:
# mode: outline
# End:



reply via email to

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