What's the best way to configure Guzzle options for Socialite providers? #976
rvanbaalen
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to configure proxy settings for the Socialite providers I use in my project.
For instance, when I use the Todoist provider:
OAuth2 providers need a custom Provider class:
OAuth1 providers need a custom Server class:
OAuth1 providers need a custom Server instead of a custom Provider. Trello example:
I abstracted this piece of code to a trait because I use it in mutliple providers in my project.
Is there a better way to define Guzze settings for Socialite providers?
Edit; turns out Trello wasn't a good example since they use the OAuth1 flow, edited this for Todoist.
Beta Was this translation helpful? Give feedback.
All reactions