G2P Auth: OIDC - Reg ID

Module name

g2p_auth_id_oidc

Module title

G2P Auth: OIDC - Reg ID

Technology base

Odoo

Functionality

This module adds functionality that enables registrants to log in to Odoo-based portals and get the respective IDs filled. It is derived from the OpenID Connect Authentication module.

Note:

Only the Odoo Application Users, such as Administrators, Managers, and Registrars, are able to log in without this module.

Features

Feature
Description

New Registrants log in

Allows new Registrants to log in, same as OIDC Authentication, but additionally marks the user as a Registrant (and not a system user). Also allows associates an ID to the newly created Registry entry, and the value of the ID can be mapped from the Userinfo response of the auth provider.

Existing Registrants log in

Checks for existing registrants by searching the registry for any entry with an ID value equal to the ID received in the Userinfo response.

Authentication

Supports authentication of Registry IDs. Allows to configure an auth provider against an ID Type.

  • Upon successful authentication of an ID, the user (registrar/system user authenticating the ID), will get an option to update the existing user data on the registry.

Guides

To learn more on Configure eSignet Auth Provider for ID Authentication, click here.

Configuration

OAuth Provider field reference (exclusive of the fields from OIDC base module).

Field name
Field title
Description
Default value

g2p_id_type

G2P ID Type

ID Type of registrant that this auth provider should fill

G2P ID Type field reference (exclusive of the basic field in ID Type configuration)

Field name
Field title
Description
Default value

auth_oauth_provider_id

Auth Oauth Provider ID

Auth provider which should be used to authenticate this ID

Source code

https://github.com/OpenG2P/openg2p-auth/tree/17.0-develop/g2p_auth_id_oidc

Last updated

Logo

Copyright © OpenG2P. This work is licensed under Creative Common Attribution (CC-BY-4.0) International license unless otherwise noted.