| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1391 |
| Technical Name |
ar_erp_face_login |
| License | OPL-1 |
| Website | mailto:afif.ridhwan33@gmail.com |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Lines of code | 1391 |
| Technical Name |
ar_erp_face_login |
| License | OPL-1 |
| Website | mailto:afif.ridhwan33@gmail.com |
| Versions | 17.0 18.0 19.0 |
AR ERP Face Login
Browser-based biometric authentication for Odoo 18 with guided face enrollment, multi-frame verification, and one-time token session authentication.
Face descriptor stored as a 128-dimension vector, not as a reusable face image.
Face login and enrollment wait for stable repeated detection before the request is sent.
Recognition runs in the browser through face-api.js, keeping the Odoo server deployment lightweight.
Face login that fits standard Odoo operations
Standard login page button
Adds a dedicated face login action below the default Odoo login button without replacing the existing password flow.
Admin-managed enrollment
Administrators can enroll or remove a user's face data directly from the user form inside Settings.
Self-service enrollment page
Logged-in users can open a clean enrollment page at /web/face-enroll to register their face independently.
One-time token authentication
The server generates a temporary token after a successful match, then authenticates the session using Odoo's standard login pathway.
Configurable recognition threshold
Matching uses Euclidean distance with a default threshold of 0.6, adjustable in Python if needed.
Lightweight deployment
No extra face-recognition Python package is needed inside Odoo because model execution stays in the browser.
Recognition stays in the browser, authentication stays in Odoo
- Loads face-api.js and the recognition models
- Opens the camera through WebRTC
- Waits for repeated stable detections
- Sends only the face descriptor vector to the server
- Finds the nearest enrolled user by Euclidean distance
- Generates a one-time token for the matched user
- Authenticates the Odoo session through standard credentials flow
- Clears the token immediately after successful login
Watch the face login flow in action
A quick walkthrough of login, camera verification, and enrollment behavior inside the module.
Live screenshots from an Odoo 18 validation instance
Key views captured during a local production-like validation run.
Login Page Button
Dedicated face recognition button added below the standard Log In button — password flow untouched.
Camera Modal
Live camera feed with scan frame overlay. Status bar updates in real time as face is detected and verified.
Admin Enrollment Panel
Face Login tab in Settings > Users. Shows enrollment status badge and enroll/remove actions.
Browser-based biometric login with guided enrollment and one-time token authentication.
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