GNU ELPA - oauth2

oauth2 Atom Feed

Description
OAuth 2.0 Authorization Protocol
Latest
oauth2-0.17.tar (.sig), 2024-Aug-30, 20.0 KiB
Maintainer
Julien Danjou <julien@danjou.info>
Website
https://elpa.gnu.org/packages/oauth2.html
Browse repository
CGit or Gitweb
Badge

To install this package from Emacs, use package-install or list-packages.

Full description

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.

If the token needs to be refreshed, the code handles it automatically and
store the new value of the access token.

Old versions

oauth2-0.16.tar.lz2024-Mar-313.34 KiB
oauth2-0.15.el.lz2020-Sep-024.19 KiB
oauth2-0.14.el.lz2020-Aug-283.96 KiB
oauth2-0.13.el.lz2020-Apr-043.85 KiB
oauth2-0.12.el.lz2020-Mar-273.80 KiB
oauth2-0.11.el.lz2016-Jul-093.54 KiB
oauth2-0.10.el.lz2014-Jan-293.42 KiB
oauth2-0.9.el.lz2013-Jun-292.89 KiB
oauth2-0.8.el.lz2012-Nov-292.80 KiB

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: