Open mcgoode opened 3 years ago
also @weaverryan the link in the documentation is broken More details: https://developers.google.com/+/web/api/rest/latest/people
I am unsure where it was supposed to go.
Hey Chris!
mhmm, I’m not sure... as this bundle is just that little in between layer. But first, about the broken link in the docs, I’m sure that DID work at one time. So something must have changed on Google’s end. It could be they moved some URLs... or that this functionality has dramatically changed.
Looking at the library we wrap - https://github.com/thephpleague/oauth2-google - the options they use vs the options we support look much different. That makes me think we may be still supporting an old version of that library or googles api in our bundle. Indeed, the code for the Google integration has barely been touched in 5 years.
tl;dr my guess is that our Google integration is totally outdated and someone needs to re-make it to match the REAL options of the underlying library.
I hope this... helps a bit :).
user_fields
was removed here: https://github.com/thephpleague/oauth2-google/pull/65/files
So it should be remove from this bundle too.
I have attached the following additional fields I want to grab when authenticating a user as we want to use our google gsuite to manage users. When I set the following fields I get nothing from them in the GoogleAuthenticaor.php. Am I requesting the fields incorrectly or is this the incorrect way to get the additional fields?
GoogleAuthenticator.php
The first dump give me...
the DD gives
knpu_oauth2_client.yaml