如何允许用户使用Google帐号登录

  • Click *Use Google API*
  • In the left menu, under **API Manager**, select the submenu **Credentials**, then choose **OAuth consent screen**
  • Find your address, email, and product name (such as Odoo) and save them.
  • Then click **Add Credentials** and select the second option (OAuth 2.0 Client ID).
  • Confirm that the application type setting is set to Web Application. Then proceed to configure the allowed redirect pages.
  • First, fill in the **authorized redirect URL**. Copy and paste the following link http://mydomain.odoo.com/auth_oauth/signin into the box, then click **Create**.
  • After completion, you will receive two pieces of information (your Client ID and Client Secret). Fill in your Client ID in the **General Settings** section.
额定值
0 0

本课程未启用评论功能。