How do I get a client ID for the GDocs API? - google-docs

I am trying to get set up on the Google Docs API but I cannot obtain a Client ID. Whenever I go into the 'Browser' Quickguide, and click on 'Enable Google Docs API', a window pops up that says 'Configure your OAuth client' but I can't actually do anything in the window (no clicks, no keyboard input, no anything).
I'd be grateful for some guidance as to what my next steps should be.

Yes, that button is not working. You can configure it manually and get the client ID following these steps:
1) In Cloud Platform console create a new cloud project [1].
2) In this project, search for Docs API and click on enable button [2].
3) Finally set-up the oauth credentials and from there you obtain the client ID [3].
[1] https://cloud.google.com/resource-manager/docs/creating-managing-projects
[2] https://cloud.google.com/apis/docs/enable-disable-apis
[3] https://support.google.com/cloud/answer/6158849

Related

SharePoint Online - AppInv

Trying to create a cross-domain javascript call that will access data via the sp online api.
I've done the appregnew successfully, getting back confirmation that my client id and secret etc was generated.
I go next to appinv, and go to the appid field. Press the lookup button, and it just refreshes the page, with no details. Tried this with 2 different browsers (edge/chrome).
Any suggestions? Have not done this before.
Please fill the client id of created app in the inputbox and then click Lookup button:
Then title, App Domain and Redirect URL will be filled automatically.

How can i register my app in Microsoft Azure?

I want to connect my Microsoft Azure bot to CRM Bitrix24. I am stuck on the point, where do i need to change the password of the App. To do this in "Settings" of this App i need to click "Manage" but when i am clicking it - i get "Not found" error.
I have tried to create new bots, wait for ~10 hours because support told me that Azure security system can be up to 8 hours. Have tried to register bot with a help of https://apps.dev.microsoft.com/#/application/{app id} link. Nothing is working for now.
You can't change a password, however you can create and delete passwords.
To do so, first navigate in Azure to 'App registrations'. You can click on the 'All Services' button and search/access the page from there.
Click into 'App registrations', select your bot, and then select 'Certificates & secrets' in the menu.
From here you can click under the 'New client secret' button located under 'Client secrets'. Be sure to record the newly generated password as it will only be visible once.
Side note: The 'Manage' button in the bot settings appears to be working. Not sure if it was fixed since you posted your issue. If you are still unable to access, try logging out and clearing your browser history/cache.
Hope of help!

how to delete "google sign in account" for development purpose - actions on google

I'm working with actions on google and dialogflow, and recently they proposed google signin to make account linking fast without writing own oauth server.
Today I implemented their google signin in my dialogflow app it is working quite fine but unfortunately I am unable to delete that account to check all development aspects, I tried my other google accounts and my friends account but soon ended up out of accounts
Un other methods when i enable and disable testing it forget about linking but in google signin it is tightly stick with the account, and i have tried almost everything i can try like restarting my phone and clearing cache of chrome browser but it looks like it is saving account somewhere in cloud.
What i need to do is, when i sign in first time it ask for name permission, i need that screen again and again for testing something
Google calls this Removing a Website or App that has access to your account. It is done using the myaccount.google.com console.
If you want to do this using Android, the easiest way is to:
Open your device's Settings app Settings app and then Google and then Google Account.
At the top, tap Security.
Under "Signing in to other sites," tap Signing in with Google.
Tap the name of your project.
Choose Remove access.
Through the web, you can go to Apps With Access to your Accounts:
Scroll down to the "Signing in with Google" section
Locate your project.
Select it, and choose "Remove access"
The name that is shown should be the name you've given to your project as part of the OAuth screen. If you haven't set that up (and if you're just playing around, you probably haven't), it will use the Project ID for your project. You can find this on the Cloud Console home screen attached to the same project name that you used in Dialogflow and the Action Console.
While you're in there, you will probably want to configure the OAuth screen to have a name for the app as it will be visible to users on the OAuth screen. From the menu, select "APIs & Services" and then "Credentials"
Select the "OAuth consent screen" tab, and fill in the "Application name".
This name should then be in the list of applications you have installed, and can remove.

Push notification - Server API Key

We have been using GCM to send Push notifications for a long time, in the past days, the sending log starts give me the error:
The Push Notification System rejected the request because of an invalid credential
After searching on the web, it seems that a Server API Key is now required to get service working again.
The API Key was created and restricted to IP of my production server on Amazon.
When I try to register the Server API Key in Azure GCM, I got an error 401 unauthorized.
Can anyone give me any suggestion? I don't know what to do anymore, my users can't access our system because authentication token is not being sent. Thanks.
Screen errors:
There is now a visible note in the GCM docs saying:
Starting from Sept. 2016 new server key can only be created in the Firebase Console using the Cloud Messaging tab of the Settings panel. Existing projects that need to create a new server key can be imported in the Firebase console without affecting their existing configuration.
Migrating from GCM to FCM fixes the issue for 401 Unauthorized Error.
If you are just starting to use GCM, instead of creating a project in the Google Developers Console, do it in the Firebase Console. After creating the project, simply use the auto-generated Server Key. Here are the steps where to find the Server Key:
Go to your Firebase Console and click on CREATE NEW PROJECT.
Fill in your desired Project Name and select your Country. After this, the new Project should be active.
Then on left-side panel, click on the gear button and select Project Settings.
Then go to the Cloud-Messaging Tab.
For old GCM projects, you can simply Import the project to the Firebase Console:
Go to your Firebase Console and click on IMPORT PROJECT.
Select the project you want to import and your country.
Click on ADD FIREBASE. After this, the new Project should be active.
Then on left-side panel, click on the gear button and select Project Settings.
Then go to the Cloud-Messaging Tab.
See my answer here for more details.

"User Authentication" Chome App Tutorial Page

Trying to follow this intro to user authentication using OAuth 2.0 in a Chrome Extension I am developing. https://developer.chrome.com/apps/app_identity
But I can't follow it (missing information).
Add permissions and upload app
You need to make sure the identity permission is in your manifest. You can
then upload your app to the apps and extensions management page (see Publish).
This step is fine. I have uploaded my project and it is in the developer dashboard.
Copy key to your manifest
When you register your application in the Google OAuth console, you'll provide your application's ID, which will be checked during token requests. Therefore it's important to have a consistent application ID during development.
To keep your application ID constant, you need to copy the key in the installed manifest.json to your source manifest. It's not the most graceful task, but here's how it goes:
1.Go to your user data directory. Example on MacOs: ~/Library/Application\ Support/Google/Chrome/Default/Extensions
2.List the installed apps and extensions and match your app ID on the apps and extensions management page to the same ID here.
3.Go to the installed app directory (this will be a version within the app ID).
4.Open the installed manifest.json (pico is a quick way to open the file).
5.Copy the "key" in the installed manifest.json and paste it into your app's source manifest file.
Except, straight away, at step 1, I cannot progress. My app is not installed and therefore its ID does not appear in the user data directory.
Will installing the unpacked extension work? Well it doesn't appear in Default/Extensions directory so I guess not. Besides, it has been given a different ID than my dashboard instance.
Therefore, where do I get the key? There is a key associated with my app on the developer dashboard. But this "tutorial" doesn't mention that.
Is somebody able to explain what I should be doing such as pointing me to another resource to learn how to set up a basic user authentication for a Chrome App?
After uploading, from the developer dashboard you can click on the "More Info" on the right of your extension in the dashboard.
You will see several pieces of useful data:
item id - this is the extension id
public key - this is the "key" you want. Copy everything between (not including) the "BEGIN PUBLIC KEY" and "END PUBLIC KEY" markers, and paste it into a "key" property in your manifest.json
Here's one way to solve this:
In the Chrome Developer Dashboard, edit your current project.
Scroll down and click Preview Changes
Click the Share icon button next to Add To Chrome which is grayed out.
E-mail the link to yourself.
Follow the link to your app's store page and now you should be able to click Add To Chrome. It will then be installed on your system under [profile]/Extensions.

Resources