Skip to content

Allowing Google Drive access in a self-hosted application #11

Description

@sebdumancic

Hi,

First of all, I really like this project: it does reference management it the exact way I want it! Thanks a lot for making it.

I'm trying to self-host it on the AWS, but have problems with getting access to Google Drive.
Could you provide more details on how to set this up?
I added the credentials from https://console.developers.google.com/start/api?id=drive to 'googleAPI.json' but cannot make it work; I keep getting the same error:

Error: invalid_request

Invalid parameter value for redirect_uri: Raw IP addresses not allowed: http://0.0.0.0:8080/api/drive/auth

More details says:

response_type=code
redirect_uri=http://0.0.0.0:8080/api/drive/auth
client_id=[...].apps.googleusercontent.com
scope=https://www.googleapis.com/auth/drive
access_type=offline
approval_prompt=auto

I don't understand why the redirect_uri is set to http://0.0.0.0:8080/api/drive/auth.

Could you provide more details on how to set it up?

(Also, could you allow the Github connection to my account - sdumancic? Thanks!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions