Skip to main content

"Invenio module that implements OAuth 2 server."

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-oauth2server.svg https://github.com/inveniosoftware/invenio-oauth2server/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-oauth2server.svg https://img.shields.io/pypi/v/invenio-oauth2server.svg

Invenio module that implements OAuth 2 server.

Features

  • Implements the OAuth 2.0 authentication protocol.
    • Provides REST API to provide access tokens.

    • Provides decorators that can be used to restrict access to resources.

  • Handles authentication using JSON Web Tokens.

  • Adds support for CSRF protection in REST API.

Changes

Version v5.0.0 (released 2026-05-28)

  • chore(setup): bump dependencies

  • fix: Enabled alembix test

  • fix: moved down_revision to depends_on

  • fix(ui): reorder menu in user settings

Version v4.0.0 (released 2026-01-29)

  • chore(setup): bump dependencies

  • fix(chore): DeprecationWarning stdlib

Version v3.3.3 (released 2026-01-27)

  • chore(setup): pin dependencies

Version v3.3.2 (released 2025-12-08)

  • i18n: pulled translations

Version v3.3.1 (released 2025-10-21)

  • i18n: pulled translations

Version v3.3.0 (released 2025-07-17)

  • i18n: pulled translations

Version v3.2.0 (released 2025-07-14)

  • chores: replaced importlib_xyz with importlib

  • i18n:push translations

Version v3.1.0 (released 2025-07-03)

  • provided translated field labels

  • fix: setuptools require underscores instead of dashes

  • i18n: removed deprecated messages

  • i18n: unified gettext formatting

Version v3.0.2 (released 2025-02-06)

  • fix: avoid reading body of request when verifying token
    • This is to fix a bug that affects large file uploads, where we need to tell Flask that we expect a large body before actually starting to read/access it.

Version 3.0.1 (released 2025-01-28)

  • fix: update iter_choices for WTForms 3.0.0 compatibility

Version 3.0.0 (released 2024-12-12)

  • setup: move to flask-oauthlib-invenio

  • global: replace werkzeug.url with urllib.parse

  • tests: changed status_code

  • fix: LegacyAPIWarning

  • fix: DeprecationWarning:

  • tests: apply changes for sqlalchemy>=2.0

  • setup: bump major dependencies

Version 2.4.1 (release 2024-11-30)

  • setup: change to reusable workflows

  • setup: pin dependencies

Version 2.4.0 (released 2024-11-07)

  • global: remove six usage

  • compatibility: to werkzeug >= 2.3.0

  • setup: unpin wtforms dependency

  • fix: DeprecationWarning HTMLString

  • settings: update page to reflect additional required parameter

  • i18n: push translations

Version 2.3.1 (released 2024-05-17)

  • settings-ui: fix token scopes list

Version 2.3.0 (released 2024-03-22)

  • fix: before_first_request deprecation (add finalise app entrypoint)

Version 2.2.1 (released 2023-10-31)

  • settings: simplify token query

Version 2.2.0 (released 2023-09-12)

  • new-buttons: remove secondary class from buttons

Version 2.1.0 (released 2023-07-31)

  • applications: Improve templates for UI and accessibility

  • pulled translations

Version 2.0.0 (released 2023-03-02)

  • drop python2.7 support

  • remove deprecated flask-babelex dependency and imports

  • upgrade invenio-i18n

  • upgrade invenio-admin

Version 1.3.8 (released 2022-11-18)

  • add translations

Version 1.3.7 (released 2022-08-04)

  • save user in the flask global

Version 1.3.6 (released 2022-06-27)

  • extract translation messages

  • add German translations

Version 1.3.5 (released 2022-02-28)

  • Replaces pkg_resources with importlib.

  • Fix translation issue with fuzzy translations.

  • Fix Flask 2 compatibility issue.

Version 1.3.4 (released 2021-07-15)

  • Adds german translations

Version 1.3.3 (released 2021-06-01)

  • Maximum version of WTForms set to <3.0.0 due to incompatibility issues.

Version 1.3.2 (released 2020-12-17)

  • Adds theme dependent icons.

  • Fixes layout and styling issues.

  • Fixes UX issues related to button ordering.

Version 1.3.1 (released 2020-12-11)

  • Fixes issue with form for application creation.

  • Fixes problem with rendering errors in the form.

Version 1.3.0 (released 2020-12-09)

  • Integrates Semantic-UI templates.

  • Sets cancel button’s color to Semantic-UI default.

Version 1.2.0 (released 2020-05-14)

  • Allow bypassing CSRF checks when using bearer tokens.

Version 1.1.1 (released 2020-05-11)

  • Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0.

  • Minimum version of Invenio-Accounts bumped to v1.2.1 due WTForms moving the email validation to an optional dependency.

  • Maximum version of Sphinx set to 3 (lower than) due to an error with working outside the application context.

  • Maximum version of SQLAlchemy-Utils set to 0.36 due to breaking changes with MySQL (VARCHAR length).

Version 1.1.0 (released 2020-03-10)

  • Provides compatibility with werkzeug 1.0.0 for flask_oauthlib

Version 1.0.5 (released 2020-05-11)

  • Deprecated Python versions lower than 3.6.0. Now supporting 3.6.0 and 3.7.0.

  • Minimum version of Invenio-Accounts set to v1.1.4 due WTForms moving the email validation to an optional dependency.

  • Minimum version of Flask-BableEx set to v0.9.4 due Werkzeug breaking imports.

  • Minimum version of oauthlib set to v2.1.0.

  • Maximum version of Sphinx set to 3 (lower than) due to an error with working outside the application context.

  • Maximum version of SQLAlchemy-Utils set to 0.36 due to breaking changes with MySQL (VARCHAR length).

Version 1.0.4 (released 2019-12-05)

  • Removes updating the expires for personal tokens.

  • Removes OAUTH2_PROVIDER_TOKEN_EXPIRES_IN from configuration.

Version 1.0.3 (released 2019-01-15)

  • Restrict oauthlib to latest v2.

  • Restrict requests-oauthlib lower than 1.2.0 because of oauthlib 3.

Version 1.0.2 (released 2018-11-02)

  • Fix incosistent OAuth2 state initialization between UI and REST applications.

  • Basic token management CLI commands for creating/deleting personal access tokens.

  • Better token creation warning messages.

Version 1.0.1 (released 2018-05-25)

  • Flask v1.0 support.

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_oauth2server-5.0.0.tar.gz (120.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invenio_oauth2server-5.0.0-py2.py3-none-any.whl (242.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_oauth2server-5.0.0.tar.gz.

File metadata

  • Download URL: invenio_oauth2server-5.0.0.tar.gz
  • Upload date:
  • Size: 120.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for invenio_oauth2server-5.0.0.tar.gz
Algorithm Hash digest
SHA256 a711b665cdede7c084407662c4d89ed3e91b30b051209e41c4590c412a92cadb
MD5 b73cb9ef7e99126d1b53b3f17e55dd8a
BLAKE2b-256 495fd4eed157361d6c3e33f4b236a842e3144d0db8567c4101e2b31bd59cf601

See more details on using hashes here.

File details

Details for the file invenio_oauth2server-5.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_oauth2server-5.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1938bb6fc7abaf3d65c4eb2413fdd5bd38ade4aade961aedc1f00e38463a31e5
MD5 47f24a4d038d0964647f02a76b842905
BLAKE2b-256 f8787550179bea2f4fd234ab5d5e352b024d55985515000e61654cb14ebb2ab7

See more details on using hashes here.

Supported by

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