Open cansavvy opened 11 months ago
I clicked on the link in the report error message and it brings me to: https://developers.google.com/identity/protocols/oauth2/resources/oob-migration
I think this is maybe the issue but I am very new to all these Google API and OAuth things so I am not sure.
What is OOB?
OAuth [out-of-band (OOB)](https://developers.google.com/identity/protocols/oauth2/native-app#manual-copypaste), also referred to as the manual copy/paste option, is a legacy flow developed to support native clients which do not have a redirect URI to accept the credentials after a user approves an OAuth consent request. The OOB flow poses a remote phishing risk and clients must migrate to an alternative method to protect against this vulnerability.
The OOB flow is being deprecated for all client types i.e. Web applications, Android, iOS, Universal Windows Platform (UWP), Chrome apps, TVs & limited-input devices, Desktop apps.
Hi @cansavvy! Sorry for the delay on getting a response to you. Since some time has already passed, I'm just checking quickly first, is this still unresolved? Happy to help you out if you still need support on this.
No worries. I ended up just making my own package to handle Google Analytics and authentication for me (along with other things) I was hoping to use this package to handle it for me but couldn't get that to work. https://www.metricminer.org/
Nice! And great work! :)
What goes wrong
First of all, thanks so much for your work on these awesome packages! Really useful for me!
I've still been trying to figure out the problems from #426 because I need to obtain google analytics data for an R package I'm working on. So I've been trying to construct this package's auth steps myself with no avail.
To test if this was a me problem I followed the tutorial in RStudio (now Posit) Cloud that is linked here https://code.markedmondson.me/googleAnalyticsR/articles/setup.html#quickstart-rstudio-cloud-project
Steps to reproduce the problem
I followed the steps in the tutorial and ran:
In the Auth consent page I received these error messages:
Expected output
I expected I would be able to authenticate the package as described in the tutorial.
Actual output
As suggested in the bug report, I ran
options(googleAuthR.verbose=2)
but nothing happened.I also tried in this cloud session to use the development version by running:
I then restarted the R session and tried again.
But I still got the same results as above.
sessionInfo()