![]() I tried to recreate api project and credentials again and again but it is impossible to setup a gdrive cloud destination. Till last week the connection between Iperius and gdrive was lost. ![]() Hello, we had two Gdrive APIs with Desktop app OAuth credentials till few days ago and backup was working properly. ( Italian, French, German, Spanish, Portuguese (Brazil)) This tutorial shows how to create OAuth 2.0 credentials in Google Drive API, that are needed by any program that wants to access to Google Drive and upload files to it.Ĭlick here to see the tutorial that shows how to make a backup to Google Drive with Iperius Copy these credentials and paste them into Iperius, in the window where you’re creating the cloud account for Google Drive. Immediately, CLIENT ID and CLIENT SECRET will be shown on the right. Now select “ Web Application” as Application Type, and enter as Redirect URI “ “, as described in the following images. In the left menu (“API and Services”), click on “Credentials” and choose OAuth Client ID from the “Create credentials” menu: Leave all the other options to their default values and go ahead clicking on “ SAVE AND CONTINUE“.Īs last step go in the left menu on “OAuth consent screen” and click on “Publish App”, then click on on “Confirm” in the screen. This is the name that will be shown in the “Consent screen” when making authentication from Iperius. Select “External” and enter your email address and the name of the application. In the left menu (“API and Services”), click on “ OAuth consent screen“. Once the project is created, go in “Library” and enable the “Google drive Api” Sign in with your Google account in the reserved area where you can configure Google APIs, from this URL: Ĭreate a project from “Select a project”: See also: Google Drive backup with Iperius In fact, to make an online backup to Google Drive you first need to enable some specific options, then you have to create an account into Iperius using the credentials provided by Google (Client ID and Client Secret). I tried many other approaches but at this was the one that worked for me.This tutorial shows how to enable the Google Drive API for a specific Google account, and get the access credentials to be used from Iperius to make cloud backups. I had to go through a lot of documentation of Google APIs to be able to come to this. UpdateSignStatus = async ()=> export default App Instead you should use the .Ĭoming back in react we will append this script to the body inside the componentDidMount() function Now if you are in your local machine using We need to specify some script so that we can use the gapi.client. Regarding oauth2.0 there is a lot of theory here Once user gives a consent we will recieve a token and make further request.User will be asked if he/she authorises this app.Let’s explain what will happen in this step. Also you cannot use IP address in URL, if you working on localhost specify localhost:Īfter this step you will have two things: Make sure you specify the website from which we will sending the requests, else you will receive CORs.Create the API key in the credentials and then the Oauth Client Id.The google docs for this step is enough to get through. Finally, write the code for the uploading the data to google drive.Īuthorise your app and enable google api ¶.Write the code for user authentication.Authorise your app and enable google api.To save text data as a Google Document in Google drive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |