Skip to content

Latest commit

 

History

History
 
 

auth_oauth_microsoft_graph

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
License: AGPL-3

Microsoft Graph Oauth Authentication

Allows users to login using Microsoft Graph in Azure AD environments. It is fairly naive, and just tests if the oauth provider is graph.microsoft.com and if so modifies the oauth request.

Installation

There are no special installation instructions for this module.

Configuration

If using B2B authentication you will need to populate users authentication usernames and complete an oauth provider.

The configuration in Azure APP:

  • Enable multi-tenanted in Azure App - setting - properties
  • Required permissions - Windows Azure Active Directory - Grant permissions - Sign in and read user profile, Sign in and read user profile , Access the directory as the signed-in user
  • Required permissions - Microsoft Graph - Grant permissions - Access the directory as the signed-in user, Sign users in , View users' email address
  • Edit manifest - "oauth2AllowImplicitFlow": true,
  • Redirect URL: https://<yourodoopublicdomain>/auth_oauth/signin

If you like to enable user to signup, just turn on the B2C login in odoo - setting - Users - Customer Account

Usage

  • Prior to first login, user must exist in Odoo if signup not enabled. You must also "Send an invitation" to reset password which user must complete.
  • User selects Login with Microsoft at login screen to authenticate.

Known issues / Roadmap

Ideally this module shouldn't be required and will be deprecated as soon as Odoo supports AZUREAD logins.

For v13, it is nothing to change. Please let us know the issue if any happened.

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

Contributors

Maintainer

This module is maintained by Open for Small Business Ltd.

Open for Small Business is a small developer and integrator of Odoo software since 2009.