Skip to main content

Allow to login with OAuth Resource Owner Password Credentials Grant

Project description

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

This module add the possibility to login with OAuth Resource Owner Password Credentials Grant

https://datatracker.ietf.org/doc/html/rfc6749#section-4.3

In most scenarios, more secure alternatives are available and recommended. This flow requires a very high degree of trust in the application, and carries risks that are not present in other flows. You should only use this flow when other more secure flows aren’t viable.

This module is useful for the Odoo mobile application, which only supports user/password authentication.

Table of contents

Configuration

The configuration of this module is based with Microsoft Azure ad OAuth provider

https://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth-ropc

To configure this module, you need to:

  1. Go to Settings/Users/OAuth ROPC providers and create a new one

provider description

Usage

To use this module, you need to:

  1. Go on the login screen

  2. Fill your Odoo user name (must be the same in OAuth provider)

  3. Fill your OAuth password

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 to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • ACSONE SA/NV

Contributors

Adrien Peiffer <adrien.peiffer@acsone.eu>

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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.

This module is part of the OCA/server-auth project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

File details

Details for the file odoo_addon_auth_oauth_ropc-16.0.1.0.0.10-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_auth_oauth_ropc-16.0.1.0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 560bf8a15ecbebf7fe4af82699c06ffc7ba788995ea00eeb069368b448fb5493
MD5 f2e8fb71348cef801541fc41a01b0c7f
BLAKE2b-256 d2f1ae31be17ab0af010464a87f780507ffc60238b48b370bd7e74c79837fc96

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