
OAUTH 2.0 FOR BOX + ODOO
Base Connector
The OAuth 2.0 login layer behind the Techloyce Box Connector: store your Box app credentials in Odoo and authorise in one click.
Create an account with your Box app's client ID and secret, select it in Settings and press Authenticate. Odoo works out its own redirect URL, receives the tokens on /callback and refreshes the access token when it expires, so the Box Connector always has a valid login.
Highlights
One login, kept valid
Connectors that call an API need a valid token every time. This module keeps the credentials and tokens in one place, so the Box Connector never asks your users to sign in again.
Credentials in Odoo
The Box app's client ID and secret are stored on an account record in Odoo.
One-click Authenticate
Press Authenticate, sign in to Box, and the access and refresh tokens are saved on the account.
Tokens refreshed
When the access token expires, the refresh token is used to get a new one automatically.
Features
What the module does in Odoo
Each capability below is taken from the module source and its screens.
SETTINGS
Oauth2 Settings page
A page in Odoo Settings where you select the account to use and press Authenticate.
ACCOUNTS
Create Account wizard
Create Account records the account name, client ID and client secret in one step.
REDIRECT
Redirect URL worked out for you
The redirect URL is your Odoo address followed by /callback, filled in automatically from the browser.
AUTHORISE
Authorisation code flow
Authenticate sends you to Box to sign in; the /callback route exchanges the code for tokens.
REFRESH
Expiry tracked
The token expiry time is stored, and a new access token is requested with the refresh token once it passes.
ODOO EDITIONS
Community and Enterprise
The module depends only on Odoo base.
Configuration
Box app, account, Authenticate
Three steps, once per database.
BOX DEVELOPER
Create the app
Create a Custom App with User Authentication (OAuth 2.0) and set the redirect URI to your Odoo address followed by /callback.
ODOO SETTINGS
Create the account
Under Settings, Oauth2 Settings, press Create Account, choose Box and enter the client ID and secret.
AUTHENTICATE
Sign in to Box
Select the account, save, and press Authenticate. The tokens appear on the account when it succeeds.
First-run checklist
From a Box app to a valid token
BOX
Create the app
Use User Authentication (OAuth 2.0), not server authentication.
REDIRECT
Match the URL
The redirect URI in Box must be exactly your Odoo address plus /callback.
ODOO
Create and select
Create the account, select it in Oauth2 Settings and save.
VERIFY
See the tokens
After Authenticate, open the account and check the access and refresh tokens are filled.
Before you buy
This is the login layer for the Box Connector, not a connector on its own
The Base Connector stores credentials and runs the OAuth 2.0 login; it does not move any data by itself. In this release its Authenticate button signs in to Box, and it is installed automatically with the Techloyce Box Connector. You need your own Box Custom App for the client ID and secret, and Odoo must be reachable at the /callback redirect URL.
Before and after purchase
Reach the right place quickly
Scan for a consultation before purchase or contact module support after purchase.
Before purchase
Check which Techloyce connector you need before buying.

techloyce.com/book-a-free-consultation
After purchase
Send the order reference, Odoo version and the error Odoo displayed.

support@techloyce.com
Reference screenshots
Where each setting lives
Reference screens retained from earlier interface revisions. Credential values are masked.
Odoo settings
Open Oauth2 Settings
In Odoo Settings, open the Oauth2 Settings page.

Odoo settings
Create the account
Use Create and Edit on Select Account to add a new account.

Odoo settings
Choose Box
Pick Box as the connector for the account.

Odoo settings
Client credentials
Enter the client ID and client secret from your Box app, then save.

Odoo settings
Authenticate
With the account selected and saved, press Authenticate.

Odoo settings
Tokens received
The account now shows its access token and refresh token.

Product support
90 days of included purchase support
Contact Techloyce for module functionality and technical issues during the included support period, which starts on the date of purchase. Customization and major-version upgrades are quoted separately.
What helps us resolve a login issue quickly
The redirect URI. As entered in the Box app, and your Odoo address.
The step. Whether it fails at Authenticate, on the Box sign-in page or on /callback.
The message. The error Odoo or Box displayed, copied as text.
Please never send us your client secret or tokens.
Before purchase
Check which Techloyce connector you need before buying.

techloyce.com/book-a-free-consultation
After purchase
Send the order reference, Odoo version and the error Odoo displayed.

support@techloyce.com
Copyright © 2026 Techloyce. All rights reserved.
FAQs
Questions before installation
Answers describing what this module does and where the boundary sits.
No. It is a dependency of the Box Connector and is installed with it.
In this release the Authenticate button signs in to Box. Contact us if you need another OAuth 2.0 service.
Your Odoo address followed by /callback. Odoo fills it in for you; it must match the redirect URI in your Box app exactly.
Yes. The expiry time is stored and the refresh token is used to get a new access token once it passes.
Yes. Create as many accounts as you need; the one selected in Oauth2 Settings is used.
Yes. It depends only on Odoo base. Odoo Online does not allow third-party modules.
90 days of support from the date of purchase, covering bug fixes, troubleshooting and help using the module. Customization and major-version upgrades are quoted separately.
Helpful links
Keep Techloyce within reach
The first card opens the Techloyce listing on Odoo Apps. Copy the remaining addresses into your browser.
Suggested apps
More integrations from Techloyce
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 380 |
| Technical Name |
base_oauth2 |
| License | OPL-1 |
| Website | http://www.techloyce.com |
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