Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Schvalování
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účetnictví
  • Sklad
  • PoS
  • Projekty
  • MRP
All apps
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

Can't find where to put the client secret

Odebírat

Get notified when there's activity on this post

This question has been flagged
oauth2
2 Odpovědi
5569 Zobrazení
Avatar
Yann Boulanger

Hi,


I have tried to set an sso login for Odoo 14 using keycloak.

I've fill every available fields but one seems to miss : client secret.

I have found client ID but there is no place for secret.

Could you tell me where I could set it ?


Best regards,


Yann Boulanger

0
Avatar
Zrušit
Avatar
Yann Boulanger
Autor Nejlepší odpověď

Hi, 

There is no authentication part in settings, there are only "integrations" (odoo 14), one of them is "Authentication Oauth", but it doesn't work, once i've logged in, i'm redirect to odoo with an error, odoo says :

   raise Exception(validation['error'])

Exception: invalid_request


Keycloak says Login in event log of the realm (Ok for me) but in the log :

[] (executor-thread-1) type=USER_INFO_REQUEST_ERROR, realmId=9eeb605c-5298-41c2-8515-f7b91594d91b, clientId=null, userId=null, ipAddress=127.0.0.1, error=invalid_token, auth_method=validate_access_token


here are my settings in odoo :

name : mysso

id.client : the name of the client in the realm

authorisation endpoint : link to/protocol/openid-connect/auth

scope : openid profile email

userinfo : link to /protocol/openid-connect/userinfo

I've filled nothing in "data endpoint", there is no such things in keycloak as long as I know, I could be wrong...

Have you got an idea ?

And miniorange sso module is definitly too expensive...

Best regards,


Yann Boulanger






0
Avatar
Zrušit
Avatar
Bhavin Patel
Nejlepší odpověď

Hi Yann, 

Here's what you need to do Keycloak Configuration This includes setting up the client ID, client protocol, and other relevant settings. Odoo Configuration https://plugins.miniorange.com/odoo-single-sign-on-using-keycloak-as-idp


In Odoo, go to the "Settings" module.

Navigate to "General Settings."

Scroll down to the "Authentication" section.

Select "OAuth2.0" as the authentication method.

In the "OAuth2.0 Configuration" section, you will find a field for "OAuth2.0 Provider." Here, you should enter the URL of your Keycloak server, including the realm, for example: https://keycloak.example.com/auth/realms/your-realm.

Save Configuration: Save the configuration in Odoo.


Test the SSO setup by attempting to log in to Odoo. and Odoo relies on the OAuth2.0 protocol and the client ID for authentication. 


0
Avatar
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
Is OAuth2 supported in the Odoo 18 Community Edition?
oauth2
Avatar
Avatar
Avatar
2
zář 25
3227
Connecting Okta with Odoo using Oauth
oauth2
Avatar
Avatar
1
čvc 23
5518
Oauth error with my own oauth provider
oauth2
Avatar
Avatar
1
lis 15
9794
Azure oauth issue
oauth2 Azure
Avatar
Avatar
Avatar
2
srp 25
4300
Error 400: redirect_uri_mismatch
oauth2 v18
Avatar
Avatar
Avatar
Avatar
4
čvc 25
5314
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now