T trueboss323 Active Member Licensed User Longtime User Jan 28, 2019 #1 Hello all, I've followed this tutorial on setting up Google Drive. I am using the example project attached in the thread. I followed the directions on setting up a ClientID and OAuth , but I am still getting this message
Hello all, I've followed this tutorial on setting up Google Drive. I am using the example project attached in the thread. I followed the directions on setting up a ClientID and OAuth , but I am still getting this message
DonManfred Expert Licensed User Longtime User Jan 28, 2019 #2 Are you using the OAuth2 Class to get the Accesstoken/authenticate? Upvote 0
T trueboss323 Active Member Licensed User Longtime User Jan 28, 2019 #3 DonManfred said: Are you using the OAuth2 Class to get the Accesstoken/authenticate? Click to expand... I think that's what you mean right? I haven't made any changes when I downloaded the test project, besides putting the Client ID. Upvote 0
DonManfred said: Are you using the OAuth2 Class to get the Accesstoken/authenticate? Click to expand... I think that's what you mean right? I haven't made any changes when I downloaded the test project, besides putting the Client ID.
DonManfred Expert Licensed User Longtime User Jan 28, 2019 #4 trueboss323 said: I haven't made any changes when I downloaded the test project, besides putting the Client ID. Click to expand... Did you downloaded the extra bas file with the oauth2 class or are you using the class from within the ZIP? Upvote 0
trueboss323 said: I haven't made any changes when I downloaded the test project, besides putting the Client ID. Click to expand... Did you downloaded the extra bas file with the oauth2 class or are you using the class from within the ZIP?
DonManfred Expert Licensed User Longtime User Jan 28, 2019 #5 You can find the newest oauth2 class here: https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2.79426/#content Worth a try. Start with the oauth2 tutorial at all to check if you get an accesstoken. You then later can implement it in your app/the google drive example app Upvote 0
You can find the newest oauth2 class here: https://www.b4x.com/android/forum/threads/class-b4x-google-oauth2.79426/#content Worth a try. Start with the oauth2 tutorial at all to check if you get an accesstoken. You then later can implement it in your app/the google drive example app
T trueboss323 Active Member Licensed User Longtime User Jan 28, 2019 #6 I replaced the OAuth2 class with the newer one , it still wouldn't work. I tried the OAuth2 example from that thread and I'm getting the same error. Upvote 0
I replaced the OAuth2 class with the newer one , it still wouldn't work. I tried the OAuth2 example from that thread and I'm getting the same error.
DonManfred Expert Licensed User Longtime User Jan 28, 2019 #7 Sounds like you have not setup corectly then. The oauth2 class is working fine for me once i used the correct client in google console Upvote 0
Sounds like you have not setup corectly then. The oauth2 class is working fine for me once i used the correct client in google console
T trueboss323 Active Member Licensed User Longtime User Jan 28, 2019 #8 I'm not sure what I could be doing wrong , I followed the steps exactly as explained in that thread. Upvote 0