Skip to content
This repository was archived by the owner on Apr 18, 2026. It is now read-only.
This repository was archived by the owner on Apr 18, 2026. It is now read-only.

Need Access Token for Google picker Api  #867

Open

Description

@SaraGhonim

Hi everyone
I'm working on a very simple web page that doesn't have a sign in Button or a server
I just need to select files from google drive and send URLs to a CMS
I'm using google picker to get URLs of selected files but I have a problem with the access token when I open Picker every time it requests to sign in
the docs show that I should use: gapi.client.setToken(tokenObject) but doesn't show where should this token come from
any help?

Activity

  1. hermz365 commented on Jun 30, 2023

    @hermz365

    @SaraGhonim you can obtain an access token after your user grants the permission to your application using the token model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions