Skip to Content
Menu

Basic HTTP Authentication

by
Odoo
v 15.0 Third Party 11
Download for v 15.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Community Apps Dependencies
Lines of code 682
Technical Name auth_basic
LicenseLGPL-3
Websitehttps://timefordev.com
You bought this module and need support? Click here!

Basic HTTP Authentication

Add Basic HTTP Authentication method where username:password is encoded in base64 format.

Authentication expects this kind of header: AUTHORIZATION: Basic [b64], which is RFC 7617 standard.

This method was inspired by module auth_api_key.

NOTE. When creating Basic Auth records, make sure username/password pair is unique to not make it possible to find multiple records with same credentials.

Constraint can't be added, because username and password values are also allowed to be retrieved from server environment.

Configuration

To use this type of authentication, with admin user (debug mode enabled), go to Settings / Technical / Authentication / Basic. Create new record, specifying its Name (unique identifier), User (Odoo user that will be actually authorized access. User must have admin access) Username and Password.

If you want to take credentials from server environment, Username and Password can be left empty. Check server_environment module for details how it works.

Contributors

  • Andrius Laukavičius (timefordev)

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.