Skip to main content
License: AGPL-3

OAuth Provider - JWT

This module adds the JSON Web Token support to OAuth2 provider.

Installation

To install this module, you need to:

  1. Install the pyjwt and cryptography python modules

  2. Install the module like any other in Odoo

Configuration

This module adds a new token type in the OAuth client configuration.

Once the JSON Web Token type is selected, a new tab appears at the bottom, where you’ll have to select an algorithm for the token signature.

For asymetric algorithms, it is possible to put a custom private key, or the module can generate one for you. The public key is automatically computed from the private one.

Usage

There is no usage change from the base OAuth2 provider module.

The public key can be retrieved by clients using this URL: http://odoo.example.com/oauth2/public_key?client_id=identifier_of_the_oauth_client

Try me on Runbot

Known issues / Roadmap

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback.

Credits

Images

  • Odoo Community Association: Icon.

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Metadata

Release files for odoo9-addon-oauth-provider-jwt 9.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo9-addon-oauth-provider-jwt 9.0.1.0.0
File Interpreter ABI Platform
odoo9_addon_oauth_provider_jwt-9.0.1.0.0-py2-none-any.whl Python 2 none any Details

Release files / odoo9_addon_oauth_provider_jwt-9.0.1.0.0-py2-none-any.whl

Download URL odoo9_addon_oauth_provider_jwt-9.0.1.0.0-py2-none-any.whl
Size 14.8 kB
Tags Python 2
SHA-256 checksum
How to use checksums
2da3bb17f30c411abcc64df9a97820957f84beeccd3165aca4d6f3f0cf5ec3d4
BLAKE2b-256 checksum
How to use checksums
91140bf9416c16895b164f4d806d48126c5a5ce5031ff043db13f3e965f98af5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page