Artículos con :
Cerrar
Changelog
Cerrar
Pruébelo en la nube

Connecting Google to ONLYOFFICE DocSpace

Connect the Google service to log in to your space quickly or to use Google Drive as a third-party resource when creating backups.

Creating authorization keys

In the cloud version, the authorization keys parameters for Google Drive are set up automatically.

In the server version, you will have to setup authorization keys for Google. Follow these steps:

  1. Go to Google Cloud Platform console.
  2. Sign in to your account.
  3. Click the Create project button. Enter the Project Name in the corresponding field and click the Create button. Once the project is created, you'll see a notification in the upper right corner of the page. Click on the project name to open it.
  4. Enable necessary APIs:
    • Click the navigation menu in the upper left corner and select the APIs and services -> Enabled APIs and services.
    • Click the Enable APIs and services button on the top.
    • In the Google Workspace section, click the Google Drive API link, then click the Enable button.
    • Return to the Enabled APIs and services page, click the Enable APIs and services button. In the Social section, enable the Google People API and Contacts API in the same way.
  5. Configure the OAuth consent screen, add a scope and test users:
    • From the left navigation menu, select the OAuth consent screen section.
    • Choose the User Type and click Create.
    • In the App information section, specify the App name and User support email in the corresponding fields.
    • In the App domain section, go to the Authorized domains subsection. Click the Add domain button and specify the onlyoffice.com domain in the entry field.
    • Specify an email in the Developer contact information section.
    • Click the Save and continue button.
    • Click the Add or remove scopes button. On a new screen that opens, go to the Manually add scopes section, specify https://www.googleapis.com/auth/drive in the entry field and click the Add to table button, then click Update.
    • Click the Save and continue button.
    • In the Test users section, click the Add users button. Specify necessary Google accounts and click the Add button.
    • Click the Save and continue button.
  6. Get Client ID and Client secret:
    • From the left navigation menu, select the Credentials section.
    • Click the Create credentials button and choose the OAuth client ID option in the list.
    • In the Application type list, select the Web application option.
    • In the Authorized JavaScript origins section, click the Add URI button and enter "https://service.onlyoffice.com" in the entry field.
    • In the Authorized redirect URIs section, click the Add URI button and enter "https://service.onlyoffice.com/oauth2.aspx" in the entry field.
    • Click the Create button.
    • Your Client ID and Client secret will be displayed in a new window. Copy or write down them.

Connecting Google to ONLYOFFICE DocSpace

  1. In the server version, click the Options icon menu in the lower left corner and select the Settings option.
  2. Switch to the Integration tab.
  3. In the Third-party services section, click the sliding button to the right of the Google logo.
  4. Enter your keys and click the Connect button.

To sign in via Google,

  1. Go to your 'Profile' page clicking the link with your name in the lower left corner of the page.
  2. On your 'Profile' page, find the 'Сonnect your social networks' caption, choose the Google service and click the 'Connect' button.
  3. In the opened window, grant the access to ONLYOFFICE application and enter the account credentials, if it's necessary.

To store your DocSpace data backup in Google Drive,

  1. Go to the 'Backup' section (DocSpace Settings -> Backup -> Third-party resource).
  2. Select Google Drive as the desired storage and click the 'Connect' button.
  3. Choose your account, grant the access to ONLYOFFICE application and click 'Create copy'.

For more details about backup, read this article.

Probar ahora gratis Pruebe y tome su decisión No se necesita instalar algo para
ver todas las posibilidades en la acción
También le podría gustar:
Cerrar