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://github.com/inveniosoftware/invenio-oauthclient/workflows/CI/badge.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 2.0.0 (released 2022-07-01)

  • Remove Babel extension.

  • Add german translations.

  • Fix checkbox label display inside loops.

Version 2.0.0 (released 2022-05-24)

  • Moved UserIdentity to Invenio-Accounts.

  • Fixes to signup error handling.

Version 1.5.4 (released 2021-10-18)

  • Add OpenAIRE AAI contrib.

Version 1.5.3 (released 2021-10-18)

  • Unpin Flask.

Version 1.5.2 (released 2021-07-12)

  • Add german translations

Version 1.5.1 (released 2021-05-26)

  • Allow to automatically redirect to the external login provider under certain conditions.

  • Disable the possibility to disconnect the last external account to always have at least one external account connected (when configured).

  • Make registration form customizable to allow adding extra form fields when the user login the first time.

  • CERN contribs: fix bug that will execute login/logout signal for CERN contribs even if the user logged in a different way.

Version 1.5.0 (released 2021-05-07)

  • Keycloak: refactor settings helper to allow multiple instances of configured keycloak authentication providers at the same time

  • OAuth: create a new settings helper to set up in an easier way a OAuth authentication provider.

Version 1.4.4 (released 2021-02-05)

  • CERN OpenID: make /userinfo endpoint and JWT token decode parameters configurable

Version 1.4.3 (released 2021-02-05)

  • REST auth: add exception logger

Version 1.4.2 (released 2021-01-15)

  • Add Keycloak contrib.

Version 1.4.1 (released 2021-01-04)

  • Use invenio-theme THEME_ICONS config

  • Fix disconnect button styling

Version 1.4.0 (released 2020-12-09)

  • Use centrally managed test dependencies.

  • Add CERN OpenID contrib.

  • Migrate CI to GitHub Actions.

  • Several UI styling fixes.

Version 1.4.0a1 (released 2020-06-22)

  • Integrates Semantic-UI templates.

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

This version

2.0.1

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-2.0.1.tar.gz (98.1 kB view details)

Uploaded Source

Built Distribution

invenio_oauthclient-2.0.1-py2.py3-none-any.whl (99.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: invenio-oauthclient-2.0.1.tar.gz
  • Upload date:
  • Size: 98.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.13

File hashes

Hashes for invenio-oauthclient-2.0.1.tar.gz
Algorithm Hash digest
SHA256 00ac9a0bad87dca24ed18916a8c704a6d10dbf570fba43ec830757c24d30e2bd
MD5 a295fa7b217990df9fd70ca9b7b1a700
BLAKE2b-256 8e3db11205464540ac7e2b5a3691227ad04d1cd597c8432da595856780a8a46f

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for invenio_oauthclient-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5e9f2ac0ef7d452818a65eb1b7e166342abc5838cb18d9dac7a49f05d848da8c
MD5 bc280be1b37e733d47b35df9e99a7ed6
BLAKE2b-256 a493057d15adcdfe97ae894efb389593a2af9165ab55721fe44732e1a3c9e1ea

See more details on using hashes here.

Provenance

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