From b875e4add1d2c374d5f4caf76a347e5fd9e373a5 Mon Sep 17 00:00:00 2001 From: Florent THOMAS Date: Sat, 23 Dec 2023 22:55:38 +0100 Subject: [PATCH 1/2] [DOC]Add option to configure --- auth_oidc/readme/CONFIGURE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/auth_oidc/readme/CONFIGURE.md b/auth_oidc/readme/CONFIGURE.md index 275e4c0a20..72c032e94c 100644 --- a/auth_oidc/readme/CONFIGURE.md +++ b/auth_oidc/readme/CONFIGURE.md @@ -57,6 +57,7 @@ In Odoo, create a new Oauth Provider with the following parameters: - Provider name: Keycloak (or any name you like that identify your keycloak provider) - Auth Flow: OpenID Connect (authorization code flow) +- Token Map : `preferred_username:user_id` - Client ID: the same Client ID you entered when configuring the client in Keycloak - Client Secret: found in keycloak on the client Credentials tab From 21b32eac4d0172c3023498df369a67d0fc997521 Mon Sep 17 00:00:00 2001 From: Florent THOMAS Date: Mon, 25 Dec 2023 19:49:54 +0100 Subject: [PATCH 2/2] [DOC]auth_oidc: more options for token maps --- auth_oidc/readme/CONFIGURE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth_oidc/readme/CONFIGURE.md b/auth_oidc/readme/CONFIGURE.md index 72c032e94c..9796089fd5 100644 --- a/auth_oidc/readme/CONFIGURE.md +++ b/auth_oidc/readme/CONFIGURE.md @@ -57,7 +57,8 @@ In Odoo, create a new Oauth Provider with the following parameters: - Provider name: Keycloak (or any name you like that identify your keycloak provider) - Auth Flow: OpenID Connect (authorization code flow) -- Token Map : `preferred_username:user_id` +- Token Map : many options are possible like `preferred_username:user_id` or + `email:user_id` . This can be combined - Client ID: the same Client ID you entered when configuring the client in Keycloak - Client Secret: found in keycloak on the client Credentials tab