Skip to content

OAuth2 Access Token Only Authentication #160

Open
@roma-glushko

Description

@roma-glushko

Hey 👋

Thank you for the async version of the Google SDK!

Is there a way to provide access token generated from OAuth2 Authorization Code workflow and opt out from any automagic refreshing of the token in case it's expired?

I have my own token management that needs to play nice with aiogoogle and I cannot share refresh token or client credentials with the library.
Ideally, I want it to fail with distinguishable exception so I can refresh the token myself and try my request.

Is this something that I can achieve with the latest version of aiogoogle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions