Force Remove a Google Glass Contact - google-mirror-api

Is there a way to force delete a contact on Glass?
I've been playing with the QuickStart project on Google App Engine and accidentally deleted the client id that was used to create the contact.
So now I can't login with the proper client id to delete that contact via REST api.
I tried restarting with no luck.

Try removing permissions for the Glassware, either through the connected sites page, or via the MyGlass page.

Related

How to set project owner in Google Cloud Platform

I have created a YouTube API key, but when I try to use it I get an error message that the key is not enabled. When I try to enable the key in the Google Cloud Console, I get the error message:
IAM: you have insufficient permissions to enable or disable services
and APIs for this project. Contact a project owner to request
permissions.
I can't seem to find a way to set the project owner. I created this project myself, so I should be the project owner. I'm not sure if it's relevant, but the account is managed via G-Suite.
Update: per the documentation, I logged on to G-Suite as an administrator and went to Apps > Additional Google services, but "Web & App Activity" is not listed as an option.
Your gsuite admin can activate the API or remove a restriction on it.
To add an owner for a project, first select the project in the dropdown at the top of the screen. Then go to "IAM and Admin" in the navigation bar, then go to the IAM page. Click on "Add" at the top, and then you can add Project->Owner.
It can be confusing because even if somebody is an organization administrator, they aren't necessarily the owner of a project yet.

How to link accounts via API using the Auth0.js SDK in react

I am trying to set up a working example of linking accounts to my sample app. I am currently using the react example found here as my base. I have looked over the docs and the example of linking an account with Lock, but I'm not sure how to apply that to the react example I am working with. I have also looked at the API for linking a user account here.
Here are the use cases I am trying to work around:
There would be a user who creates a new account on my site using Google. Then they decide they want to add another social login via GitHub to that same account. They clicks a button that allows them to login via GitHub and then it redirects back to their account page and they can now login to the one account with either their Google login or GitHub.
There would be a user who creates a new account on my site using Google. Another day they create another new account on my site using GitHub. Later they realize that they mistakenly made two accounts and want to merge them. They login to either account then click a button that allows them to login to the other account and then they are redirected back to their now merged account.
I think the API would be my best option, but I'm not sure how to obtain the SECONDARY_ACCOUNT_JWT OR THE SECONDARY_ACCOUNT_USER_ID. How do I get the user to log in to their other account? When I try to redirect to the login page when a user is already logged in it just redirects back to the page I have set to redirect after login.
Hey there Camiblanch!
You could link the accounts together if they share the same email through a rule. Attached is an example that may help you in your quest. Thanks!
https://auth0.com/rules/link-users-by-email

How can I find out the ClientID for my google appengine service account?

from google website:
Delegating domain-wide authority to the service account
If your application accesses user data, the service account that you created needs to be granted access to the Google Apps domain’s user data that you want to access.
The following steps must be performed by an administrator of the Google Apps domain:
Go to your Google Apps domain’s Admin console.
Select Security from the list of controls.
If you don't see Security listed, select More controls from the gray bar at the bottom of the page, then select Security from the list of controls. If you can't see the controls, make sure you're signed in as an administrator for the domain.
Select Show more and then Advanced settings from the list of options.
Select Manage API client access in the Authentication section.
In the Client Name field enter the service account's Client ID.
Question: what is this equal to? I am using service account that comes with google appengine, not a manually created service account
In the One or More API Scopes field enter the list of scopes that your application should be granted access to. For example, if your application needs domain-wide access to the Google Drive API and the Google Calendar API, enter: https://www.googleapis.com/auth/drive, https://www.googleapis.com/auth/calendar.
Click Authorize.
Answer for 2019
(Just figured this out myself, so I hope this is accurate. )
Go to Google APIs, then under the Service Accounts section, click on the service account you wish to get the ID from and open its properties.
(image) Step 1: Google APIs > Service Accounts
Afterwards, click the View domain wide delegation ID . This will open a popup sidebar with displaying the ID.
(image) Step 2: Delegation ID
You cannot have a Client ID related to an App Engine application, You need to create a Credential from the related page.
Go to https://cloud.google.com/console and select your project.
Go to the section APIs & Auth and the Credentials.
Or you can go directly from this url
https://console.developers.google.com/project/{your project name}/apiui/credential
Select Create new Client ID
and then select Service Account as Application type
You have now a Client ID to configure in ther Apps Dashboard
From looking at the credential file I downloaded when creating my service account, looks like the 'client id' may be the same as the 'unique id' of the service account. thanks, google :(.

I can't delete my application

I can't delete my application I did for test (a personal website): http://wwwfabiosirnacom.appspot.com/
As you can see in this screenshot the app is not in my dashboard:
https://www.dropbox.com/s/nhvvwe8k5009jy3/Screenshot%202014-04-21%2015.45.42.png
Is there a way to delete it definitely? Or just overwrite with a blank page.
Most likely you have created the app with a different Google Account, or deleted yourself from the team members of the app.
You should log in with an Google Account that has admin access to the application. Once you figure out which account it is, follow this page:
https://developers.google.com/appengine/docs/adminconsole/applicationsettings#disable_or_delete_your_application

Failed to add new user to existing Google App Engine

At our company we are experimenting with the Google App Engine.
There is already an app online and they wanted to add me to this existing app.
We tried to do this several times but I still can't access the existing app.
The email you receive when you are added to an existing app consists of 2 links.
- one for coupling it to an existing Google account
- one for coupling it to the receiving email address which is a Google Account
If i follow the link in case 1, I'm redirected to a page where I need to create a new application.
If i follow the link in case 2, I get the following Server Error:
"Sorry, you've reached a login page for a domain that isn't using Google Apps. Please check the web address and try again."
If one of my colleagues looks at the Permissions page of all users, my status is pending...
Anyone an idea?
Your accounts are on Google Apps? if is the case, you need to use the good link; In the email you received you should have 2 links to validate account. The first is for google account and the second is for google apps account.

Resources