gpsoauth icon indicating copy to clipboard operation
gpsoauth copied to clipboard

Consider supporting manual token exchange

Open simon-weber opened this issue 2 years ago • 5 comments

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.

simon-weber avatar Jun 01 '22 17:06 simon-weber

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.

kiwiz avatar Sep 27 '23 18:09 kiwiz

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?

simon-weber avatar Oct 17 '23 17:10 simon-weber

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 avatar Oct 18 '23 20:10 kiwiz

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

kiwiz avatar Dec 12 '23 09:12 kiwiz

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

simon-weber avatar Dec 12 '23 17:12 simon-weber