simon-weber / gpsoauth

A python client library for Google Play Services OAuth.
MIT License
94 stars 32 forks source link

Consider supporting manual token exchange #44

Open simon-weber opened 2 years ago

simon-weber commented 2 years ago

As B16f00t mentioned in https://github.com/simon-weber/gpsoauth/issues/37#issuecomment-1142402854, this could help in situations where the usual login flow is broken or otherwise impossible. https://github.com/simon-weber/gpsoauth/pull/41 has an example implementation.

kiwiz commented 9 months ago

Bump! The manual token exchange appears to be more reliable at the moment. Could support be added for using this flow? I can make updates to the PR as appropiate.

simon-weber commented 8 months ago

You're referring to https://github.com/simon-weber/gpsoauth/pull/41? I don't remember much about it. Can you share the code you're using?

kiwiz commented 8 months ago

Yup. This README has details on the flow. In short, the endpoint is passed an OAuth token which needs to be manually obtained by a user. The benefit is that it appears to sidestep the authentication issues that users are experiencing. The changes in the PR should still be relevant, but the code could possibly be broken out into a separate method.

kiwiz commented 6 months ago

Hi again! Any additional context/investigation work I can provide here?

simon-weber commented 6 months ago

I reopened https://github.com/simon-weber/gpsoauth/pull/41.