Skip to content

GoogleAuthorizationCodeFlow Won't Work With non-AppEngine #2256

Description

@bcwhite-code

https://developers.google.com/api-client-library/java/google-api-java-client/oauth2

The GoogleAuthorizationCodeFlow class needs, for persistence, a DataStoreFactory. However, this appears to be accessible only with AppEngine because the Cloud-Run library provides instead a DatastoreFactory (small S).

This dependency goes down event into the AuthorizationCodeFlow base class making it (seemingly) impossible for me to create a custom derived class that manages the persistence on my terms.

It would be nice if the base class was independent of the storage type, using function calls that can be overridden.

Activity

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

    priority: p3Desirable enhancement or fix. May not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions