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 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


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

Uploaded Source

Built Distribution

invenio_oauth2server-1.3.1-py2.py3-none-any.whl (75.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: invenio-oauth2server-1.3.1.tar.gz
  • Upload date:
  • Size: 110.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for invenio-oauth2server-1.3.1.tar.gz
Algorithm Hash digest
SHA256 c59d7270f20b797b64ed24c77448cee1e7541e96f9bf0496dfa0700fceebea54
MD5 fc284728d6374680786cf400b2723af8
BLAKE2b-256 af0393af1296373e04176b994bd6f0c45ef7d430072c0254aceb4e14a47cb57a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: invenio_oauth2server-1.3.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 75.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.6

File hashes

Hashes for invenio_oauth2server-1.3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 442479f3dd1de7d86cdc912a01f907dffe6dc9f032825e83cd1bba077357e81f
MD5 3e1e19d8d666d8f033f62b33ff573014
BLAKE2b-256 27ed23ca62a647eafe1a01b497d4604d218ca731cae3624af0da48e8c4bfb184

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