Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't access any document from the Drive while using a "http" instance #16

Closed
ane-gabriela opened this issue Mar 28, 2019 · 3 comments

Comments

@ane-gabriela
Copy link

commented Mar 28, 2019

Steps to reproduce:

  1. Configure the Google Apps Integration (Pro) https://store.xwiki.com/xwiki/bin/view/Extension/GoogleAppsIntegration#installation on a local XWiki instance eg. http://apps.xwiki.com:8080/xwiki/bin/view/Main/
  2. Log in with Google
  3. Access the Google Apps Integration page eg. http://apps.xwiki.com:8080/xwiki/bin/view/GoogleApps/
  4. Click on the "TestDocumentList" link
  5. Access one of the documents
  6. Go back to http://apps.xwiki.com:8080/xwiki/bin/view/GoogleApps/
  7. Click on the "DriveMacroTest" link
  8. Search for a document from the drive
  9. Access it

Expected results: The user can connect and access documents from the Google Drive.

Actual results: The user can connect, can see the listed documents from the Drive but can't access them.

NOTE: I've noticed on the Credentials page (https://console.developers.google.com/apis/credentials/) while looking at the Scopes for Google APIs that some Api's that were required in documentation are not available because they require "https"
GoogleAPI

Environment: Windows 10, XWiki 8.4 and 10.8.3 Standard with Chrome 73

ResultDriveMacroTest
ClickingOnDriveMacroTest
ResultClickOnDocumentFromDocumentList

@polx

This comment has been minimized.

Copy link

commented Apr 5, 2019

This is a documentation issue: We should always require https if the drive integration is required.
Under some hackish circumstances, you can make some of the configuration without it, but, as you read in the documentation, it is required for the drive access.
I've made a first attempt to clear the documentation.

@polx

This comment has been minimized.

Copy link

commented Apr 5, 2019

This is a documentation issue: We should always require https if the drive integration is required.
Under some hackish circumstances, you can make some of the configuration without it, but, as you read in the documentation, it is required for the drive access.
I've made a first attempt to clear the documentation. Please comment.
Paul

@polx

This comment has been minimized.

Copy link

commented Apr 8, 2019

I have modified the documentation to this effect.

@polx polx closed this Apr 8, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.