Skip to main content

Link user with Microsoft

Project description

Odoo Community Association

Microsoft account for Drive

Beta License: LGPL-3 OCA/storage Translate me on Weblate Try me on Runboat

This addon allows the user to link their Microsoft Drive account to Odoo. The stored credentials are then used by other addons to perform actions on Drive as the logged-in user.

Table of contents

Configuration

In order to use the Microsoft Drive Account module, you need to set following configuration parameters in your Odoo instance:

  • microsoft_account.auth_endpoint: The URL of the Microsoft authentication endpoint. This is usually https://login.microsoftonline.com/{your endpoint id}/oauth2/v2.0/authorize.

  • microsoft_account.token_endpoint: The URL of the Microsoft token endpoint. This is usually https://login.microsoftonline.com/{your endpoint id}/oauth2/v2.0/token.

  • microsoft_drive_client_id: The client ID of your Microsoft application. This is a unique identifier for your application that you can obtain from the Azure portal.

  • microsoft_drive_client_secret: The client secret of your Microsoft application. This is a secret key that you can obtain from the Azure portal. It is used to authenticate your application with the Microsoft Graph API.

Optionally, you can set the following parameters:

  • microsoft_drive_client_scope: The scope of the Microsoft application. By default the following scopes are used

    • offline_access

    • openid

    • Files.ReadWrite.All

    • Sites.ReadWrite.All

Usage

On the user preference page, the user can link their Microsoft Drive account to Odoo by cliking on the Drive button. This will redirect the user to the Microsoft authentication page, where they can log in and grant permission to Odoo to access their Drive account. Once the user has granted permission, they will be redirected back to Odoo, where their Drive account will be linked.

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

Other credits

The development of this module has been financially supported by:

  • ACSONE SA/NV

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.

Current maintainer:

lmignon

This module is part of the OCA/storage 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_microsoft_drive_account-18.0.2.0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for odoo_addon_microsoft_drive_account-18.0.2.0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 734bb528901f725923d6268ffda7de8c1513e6719aa97b82c6e401b5590e9ef2
MD5 e3a9efe5a0e63a4f149aa2f12dc93d3f
BLAKE2b-256 45c9425b292836f08b87d0691da799b0e33aad2cf542c19e31ff12eefbe18063

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