Skip to content

No way of obtaining refresh _token from gapi.auth2.authorize api from client side #643

Open
@logesh2496

Description

@logesh2496

Hi,
Am using gapi.auth2.authorize api to allow multiple user accounts being signed in. but it's callback function doesn't provide a refresh_token. Requirement is to keep the users until they sign out.
How can i achieve this as the access_token gets expired in an hour of time? I cannot have a server to do the server side authorization flow. Is there any way to obtain the refresh_token in pure client side? Would following PKCE help me? If yes, what's the endpoint for POST?

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