You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't find anywhere this is supposed to resolve itself. The docs suggest we should be using the same client for tokens, middleware, etc. Problem is, onBefore is going to fire a request, which is naturally going to attempt to call onBefore again.
The onBefore token fetching is infinitely recursive if that same client is used to fetch the initial token. (i.e. given the readme example)
Is there something I'm missing?
Edit: You can indeed solve this by using a separate guzzle client for tokens + middleware, but seems like that should be documented or resolved :D
The text was updated successfully, but these errors were encountered:
Hi @bpicolo, I've left Sainsbury's, but since the codebase that used guzzle-oauth2-plugin has been removed before that, I doubt there will be the need to maintain this internally. And since I've left the organisation, I can't fix/push changes to this either way.
Cheers,
Dan
Can't find anywhere this is supposed to resolve itself. The docs suggest we should be using the same client for tokens, middleware, etc. Problem is, onBefore is going to fire a request, which is naturally going to attempt to call onBefore again.
The onBefore token fetching is infinitely recursive if that same client is used to fetch the initial token. (i.e. given the readme example)
Is there something I'm missing?
Edit: You can indeed solve this by using a separate guzzle client for tokens + middleware, but seems like that should be documented or resolved :D
The text was updated successfully, but these errors were encountered: