Brent Shaffer

Results 407 comments of Brent Shaffer

Does your server know about the client id / secret you're using?

the error `The grant type is unauthorized for this client_id` implies that the `client_id` is valid, but the grant type you're using is not. Add "refresh_token password" to your "grant_types"...

This line of code should not be necessary. As long as `use_openid_connect` is `true`, the grant type above will automatically be added to the server object. It's possible somewhere else...

See https://github.com/googleapis/google-api-php-client/pull/2532 @bjsapkota1313 I am updating the README to contain more info on how to debug the error. Can you follow these instructions and let me know if it fixes...

The refreshing should happen transparently, so the quickstart wouldn't look different WRT that aspect. However, the quickstarts look pretty bad right now so I would like the quickstart to look...

Yes, sorry, that sample was to suggest improvements to *this* library regarding making the library more usable. It's tangentially related to this issue only. I believe there's still work we...

I agree this should definitely be added! I'd love to get to it, but in the event this takes me a while to get to, pull requests are welcome!

Since we do not maintain a caching library, the simple answer here would be to use a PSR-6 complaint caching library which does prevent race conditions (as there's nothing we...

This is interesting... the advantage is `Requests` uses fsockopen, and this is required for your project? I think this may be something better suited for your own application. I do...

@Guikingone this is a great idea! We will look into it. When this library was built, PSR-7 did not exist yet. We can definitely open this up now though!