Skip to main content

Invenio module that implements OAuth 2 server.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-oauth2server.svg https://img.shields.io/travis/inveniosoftware/invenio-oauth2server.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 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.3 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


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

Uploaded Source

Built Distribution

invenio_oauth2server-1.0.5-py2.py3-none-any.whl (60.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file invenio-oauth2server-1.0.5.tar.gz.

File metadata

  • Download URL: invenio-oauth2server-1.0.5.tar.gz
  • Upload date:
  • Size: 103.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7

File hashes

Hashes for invenio-oauth2server-1.0.5.tar.gz
Algorithm Hash digest
SHA256 2e92b9fe976dd2a8cdbd5955713498ba777fde8bd24349129376798b12fe9c73
MD5 65d5e36bca49cbf2fdb7284d9c05932a
BLAKE2b-256 349ef7144fb0acca1121c6b43434fe053b6f7f42053e887b3fe722b97b478d73

See more details on using hashes here.

File details

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

File metadata

  • Download URL: invenio_oauth2server-1.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 60.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7

File hashes

Hashes for invenio_oauth2server-1.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dc6f8ee7b04cb33a15a1a579b0f0312a2526ccfc914aadff034b6e81841c7890
MD5 38e12082070b30cc7d8a2794482f45f8
BLAKE2b-256 d87634514c3952b1df370dd7abc3868c86c0f8c32c923117d8e9214b9931fffb

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