This Odoo module provides seamless integration with Auth0, enabling Single Sign-On (SSO) with multiple identity providers like Google and GitHub.
- Secure authentication via Auth0
- Support for multiple providers (Google, GitHub, etc.)
- Automatic user provisioning in Odoo
- JWT decoding and validation
- Environment-based configuration for security
- Clone this repo and place the module in your Odoo
addonsdirectory. - Create a
.envfile in the root of your project with the following keys:
AUTH0_DOMAIN=your-auth0-domain
AUTH0_CLIENT_ID=your-auth0-client-id
AUTH0_CLIENT_SECRET=your-auth0-client-secret
AUTH0_REDIRECT_URI=http://localhost:8069/auth0/callback- Install the Python dependency:
pip install python-dotenv- Restart Odoo and activate the module.
Never commit your .env file. Always keep your secrets safe.
Developed by Mohammad Hamdan with integration guidance from OpenAI's ChatGPT.