Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Extra Tools
  3. Social Login: Sign in with Google, Apple, Microsoft, GitHub, LinkedIn - OAuth2 SSO v 19.0
  4. Sales Conditions FAQ

Social Login: Sign in with Google, Apple, Microsoft, GitHub, LinkedIn - OAuth2 SSO

by Modvanta https://modvantaapps.tech/odoo-apps/social-login/
Odoo

$ 14.96

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
You bought this module and need support? Click here!
  • Description
  • Manifest
  • License
Social login for Odoo 19 - sign in with Google, Apple, Microsoft, GitHub, LinkedIn, Discord and OpenID Connect SSO
Odoo 19GoogleAppleMicrosoftGitHubLinkedInDiscordOkta / Auth0 / KeycloakAuthorization Code + PKCE30 automated tests

One click login with the accounts your customers already have

Adds the OAuth2 Authorization Code flow with PKCE and ID token verification to Odoo's own OAuth login, with ready provider records for Google, Apple, Microsoft, GitHub, LinkedIn, Discord and any OpenID Connect identity provider.

Buy Now - $15Ask a Question

Written and supported by Modvanta - modvantaapps@gmail.com

What it does

Odoo's built-in OAuth login only speaks the old implicit flow, which most providers have switched off. Without it, Sign in with Microsoft, Apple or GitHub cannot be set up, and company SSO through Okta, Auth0 or Keycloak is out of reach.

This module adds the Authorization Code flow: the browser is sent to the provider with a state, a nonce and a PKCE challenge, the code comes back to the module's own callback, and Odoo exchanges it for tokens on the server. ID tokens are checked against the provider's signing keys, the audience, the issuer, the expiry and the nonce.

Matching users, signing up new ones and opening the session are left to Odoo's auth_oauth, so the login works exactly like Odoo's own. When something is wrong, the login page explains what - instead of a bare Access Denied.

Who it is for

Online shops

Let customers sign in with Google, Apple or Microsoft instead of creating another password.

Companies with an identity provider

Single sign-on for staff through Okta, Auth0, Keycloak or Microsoft Entra ID.

Developer communities and SaaS portals

GitHub and Discord login for technical audiences.

Key features

Screenshots were taken on Odoo 19 with this module on a clean demo database (company Northwind Trading Co). No real provider was contacted: the OpenID Connect login used a stand-in identity provider (Northwind SSO) on the bench, and all client IDs are placeholders.

Feature 1

Buttons on the login page

Every enabled provider gets a Sign in with ... button under the normal login form: here Microsoft, Google, GitHub and the company SSO.

Buttons on the login page

Feature 2

Signed in after one click

Clicking Sign in with Northwind SSO went through the full Authorization Code flow with PKCE: the code was exchanged on the server, the ES256 ID token was verified with the provider's keys, and a new portal account for Olivia Grant was created and logged in.

The second login matched the same account by its provider user ID

Signed in after one click

Feature 3

Errors you can act on

With sign-up switched off on the website, an unknown identity is refused and the login page says why, where to change the setting, and the OAuth user ID to set on an existing user.

An existing account is never taken over just because the email matches

Errors you can act on

Feature 4

All providers in one list

Settings -> Users & Companies -> OAuth Providers lists Odoo's providers and the module's: Apple, Microsoft, Google (OpenID Connect), GitHub, LinkedIn, Discord and a generic OpenID Connect provider, all disabled until you add your client ID.

All providers in one list

Feature 5

Any OpenID Connect provider

For Okta, Auth0, Keycloak or another OIDC server, set the Discovery URL and Discover Endpoints fills the authorization, token, userinfo and JWKS URLs and the issuer from the provider's configuration document.

Validation by ID token (JWT) or by the UserInfo endpoint

Any OpenID Connect provider

Feature 6

Google, ready to fill

The Google (OpenID Connect) record has the authorization, token and userinfo URLs and the scope already set. Paste your client ID and secret and enable it.

Google, ready to fill

Feature 7

Sign in with Apple

Apple uses form_post and a client secret that is a signed JWT: enter the Apple Team ID, Key ID and the private key, and the module signs the secret itself.

Sign in with Apple

Feature 8

GitHub, including private emails

GitHub's record includes the email endpoint, so an account whose email is private still gets its verified address.

GitHub, including private emails

How it works, step by step

1

Create an app at the provider

Register a web application at Google, Microsoft, Apple, GitHub, LinkedIn, Discord or your identity provider.

2

Register the redirect address

Use https://<your Odoo domain>/mdv_social_login/callback as the allowed redirect URI.

3

Fill the provider in Odoo

Settings -> Users & Companies -> OAuth Providers: paste the client ID and secret (or Apple's key details), or use Discover Endpoints for OpenID Connect.

4

Enable it

Tick Allowed. The button appears on the login page.

5

Decide about sign-up

With Free sign up new customers get an account at their first login; with invitations only, existing users are linked by their provider user ID.

Settings

OAuth2 FlowAuthorization Code (recommended) or the legacy implicit flow.
Validation ModeID Token (JWT) with JWKS URL and issuer, or the UserInfo endpoint.
Use PKCEOn by default; off for providers that post back to the server (Apple).
Client Secret TypeStatic secret, or Apple signed JWT.
Discovery URLOpenID Connect configuration document for Discover Endpoints.
Response Mode / Extra ParametersFor providers that need form_post or extra query parameters.

Frequently asked questions

Which providers are included?

Google (OpenID Connect), Apple, Microsoft, GitHub, LinkedIn, Discord and a generic OpenID Connect record for Okta, Auth0, Keycloak and similar.

Does it replace Odoo's OAuth module?

No. It builds on auth_oauth: user matching, sign-up and sessions stay Odoo's own.

Is an account taken over when the email matches?

No. A social identity is linked by the provider's user ID; an existing account with the same email is not taken over.

Are ID tokens verified?

Yes: signature against the provider's keys, audience, issuer, expiry and nonce.

Do I need my own app at each provider?

Yes. Each provider issues the client ID and secret for your domain.

Compatibility

Odoo 19

Community and Enterprise

Depends on

OAuth Authentication, Sign up

Tested

30 automated tests

Give your users the login button they expect

Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.

Buy Now - $15Hire Us for Odoo Work

SUPPORT

modvantaapps@gmail.com

AUTHOR

Modvanta

INCLUDED

Module, setup help by email

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 754
Technical Name mdv_social_login
LicenseOPL-1
Websitehttps://modvantaapps.tech/odoo-apps/social-login/
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with