Anmeldeauthentifizierung für Facebook¶
Die Anmeldefunktion für OAuth von Facebook ermöglicht es Odoo-Benutzern, sich mit ihrem Facebook-Konto in ihrer Datenbank anzumelden.
Gefahr
Datenbanken, die auf Odoo.com gehostet werden, sollten keine OAuth-Anmeldung für den Eigentümer oder Administrator der Datenbank verwenden, da dies die Datenbank von ihrem Odoo.com-Konto entkoppeln würde. Wenn OAuth für diesen Benutzer eingerichtet ist, kann die Datenbank nicht mehr dupliziert, umbenannt oder anderweitig über das Odoo.com Portal verwaltet werden.
Einrichtung von Meta für Entwickler¶
Go to Meta for Developers and log in. Click My Apps. On the Apps page, click Create App.
On the Use cases page, select Authenticate and request data from users with Facebook Login, then click Next.
In the Add an app name field, enter Odoo Login OAuth
, or a similar title.
Bemerkung
The App contact email automatically defaults to the email address associated with the Meta account. If this email address is not regularly monitored, it may be wise to use another email address.
Click Next. Review the Publishing requirements, the Meta Platform Terms, and Developer Policies. Then, click Create app.
Wichtig
Clicking Create app may require password re-entry.
App anpassen¶
After the new app is created, the Dashboard page appears, with a list of steps to be completed before the app can be published. From here, click Customize adding a Facebook Login button.

Klicken Sie auf der Seite Customize (Anpassen), auf Settings (Einstellungen).
In the Valid OAuth Redirect URIs field, enter https://<odoo base
url>/auth_oauth/signin
, replacing <odoo base url>
with the URL of the applicable database.
Example
If a database has the URL https://example.odoo.com
, the URL
https://example.odoo.com/auth_oauth/signin
would be entered in the Valid OAuth
Redirect URIs field.
Klicken Sie nach Abschluss auf Save Changes (Änderungen speichern).
Einstellungen konfigurieren¶
At the far left of the page, click
. This page contains additional settings that are required before the app can be submitted for approval.In the Privacy Policy URL field, enter https://www.odoo.com/privacy
.
Bemerkung
https://www.odoo.com/privacy is the default privacy policy for databases hosted on Odoo.com.
Click the App Icon field to open a file upload window. From here, select and upload an app icon.
In the User data deletion field, enter
https://www.odoo.com/documentation/17.0/administration/odoo_accounts.html
.
Bemerkung
This document provides instructions on how a user can delete their Odoo account.
Lastly, click the Category field, and select Business and pages from the drop-down menu.
Click Save changes.

Capture app ID¶
After the app is created, and approved, select and copy the App ID. Paste this information on a clipboard or notepad file, as it is needed in a later step to complete the setup.
Veröffentlichen¶
On the left side of the page, click Publish. Depending on the status of the connected Facebook account, additional verification and testing steps may be required, and are listed on this page.
After reviewing the information, click Publish.
Siehe auch
Additional information regarding Meta App Development, including further details on building, testing, and use cases, can be found in the Meta for developers documentation.
Odoo-Einrichtung¶
Aktivieren Sie zunächst den Entwicklermodus.
Navigieren Sie zur Integrationen. Kreuzen Sie hier das Kästchen OAuth-Authentifizierung an. Klicken Sie auf Speichern.
und scrollen Sie zum Abschnitt
Melden Sie sich dann bei der Datenbank an, sobald der Anmeldebildschirm geladen ist.
Navigieren Sie nach erfolgreicher Anmeldung zu Facebook-Grafik.
. Klicken Sie aufGeben Sie im Feld Client-ID die App-ID aus dem vorigen Abschnitt ein, und kreuzen Sie das Kästchen Erlaubt an.
