Skip to main content

Invenio module that provides OAuth web authorization support.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-oauthclient.svg https://img.shields.io/travis/inveniosoftware/invenio-oauthclient.svg https://img.shields.io/coveralls/inveniosoftware/invenio-oauthclient.svg https://img.shields.io/pypi/v/invenio-oauthclient.svg

Invenio module that provides OAuth web authorization support.

OAuth client support is typically used to allow features such as social login (e.g. Sign in with Twitter) and access to resources owned by a specific user at a remote service. Both OAuth 1.0 and OAuth 2.0 are supported.

Features:

  • Views: OAuth login and authorized endpoints, linked account settings and sign-up handling.

  • Client: A client to interact with remote applications.

  • Contrib: Ready-to-use GitHub, ORCID, and CERN remote applications.

  • Models: Persistence layer for OAuth access tokens including support for storing extra data together with a token.

  • Handlers: Customizable handlers for deciding what happens when a user authorizes a request.

Further documentation is available on https://invenio-oauthclient.readthedocs.io/

Changes

Version 1.3.6 (released 2021-01-25)

  • REST auth: add exception logger

Version 1.3.5 (released 2020-10-30)

  • CERN Open ID: handle login via User Token

Version 1.3.4 (released 2020-10-04)

  • CERN providers: clear user roles on logout

Version 1.3.3 (released 2020-08-31)

  • Add CERN OpenID OAuth provider.

Version 1.3.2 (released 2020-06-25)

  • Fixes orcid access token url.

Version 1.3.1 (released 2020-06-03)

  • Exports rest handlers.

Version 1.3.0 (released 2020-05-15)

  • Introduce InvenioOAuthClientREST extension.

  • The module can be used as a full REST OAuth service. For example, from an SPA application. All responses are being handled by redirecting to user’s configured endpoints.

  • The new configuration variable OAUTHCLIENT_REST_REMOTE_APPS defines the registered applications that are using the REST OAuth workflow.

Version 1.2.1 (released 2020-04-17)

  • Fix args from redirect target’ encoding

Version 1.2.0 (released 2020-03-13)

  • Centrally manage Flask dependency by invenio-base

  • Drop support for Python 2.7

Version 1.1.3 (released 2019-07-29)

  • Remove deprecated warnings from 3rd party modules

  • Fix setup file extension

  • Fix missing args from redirect target

Version 1.1.2 (released 2019-02-01)

  • CERN OAuth: fix logout url

Version 1.1.1 (released 2019-01-22)

  • CERN OAuth: filter authentication by IdentityClass

  • Pin oauthlib lower than 3.0

Version 1.1.0 (released 2018-12-14)

Version 1.0.0 (released 2018-03-23)

  • Initial public release.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio-oauthclient-1.3.6.tar.gz (81.5 kB view details)

Uploaded Source

Built Distribution

invenio_oauthclient-1.3.6-py2.py3-none-any.whl (70.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-oauthclient-1.3.6.tar.gz.

File metadata

  • Download URL: invenio-oauthclient-1.3.6.tar.gz
  • Upload date:
  • Size: 81.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for invenio-oauthclient-1.3.6.tar.gz
Algorithm Hash digest
SHA256 c09f58bebb1a529e60733180a4d89cb5a21c3cbe03cc2539f4959837107f0a0a
MD5 9c7c01d1e715e374fec612d9b848d096
BLAKE2b-256 8f810a91684cf3d82da54b25d1bda2c2c8f7819aeeb82792c07e83e98d53fb9a

See more details on using hashes here.

File details

Details for the file invenio_oauthclient-1.3.6-py2.py3-none-any.whl.

File metadata

  • Download URL: invenio_oauthclient-1.3.6-py2.py3-none-any.whl
  • Upload date:
  • Size: 70.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.5

File hashes

Hashes for invenio_oauthclient-1.3.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 30ce75241515216fab1f9550176d51e2a07c6bd3bbc89fbd30e993ffa89831e9
MD5 91a8c7896e4f25897078aa475238ae84
BLAKE2b-256 a00794b2fcb113eb11b93d2c57634b6811995b28078a9a2802b3cca17a39f5d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page