Closed jrgriffiniii closed 4 years ago
This needs some commits rebased, but this should be enough to provide a proof-of-concept.
Currently there is a bug in which the Google Picker API might not be returning JSON results consistently. For example, I find the following when mounting the user interface in Rails:
Where I should be using the id_token
property (at least in some cases), I was only originally looking for access_token
on the auth. response JSON Object.
https://github.com/samvera-labs/browse-everything-redux-react/pull/45/commits/6eeadd79cdd1153ca6f13f3eed1184fe221952d0 rebases and fixes this more thoroughly, although I am not certain why this is happening. With invalid App. Key and Client IDs passed for the Google API, clear and verbose errors are logged in the console.
Merging this in order to advance the 2.0.0.pre.alpha1 release.
This also addresses several additional issues: