last day (23 days later) » 

10:18 AM
1
Q: Inserting accounts into Mirror API using service account returns "invalid_grant" error

PabloCI'm using the Mirror API .NET Library with a Google Service Account to do 3rd Party Authentication via the MyGlass app. I'm following the Authentication for GDK Glassware documentation to authenticate my users server-side and then insert the account. When I try to insert a new account using the ...

 
If this question requires further clarification, please let me know.
 
You do understand that a service account is its own entity, which means even if you could use a service account with the mirror api you would only manage to write to the service accounts glass timeline. I don't think that the service account owns a pair of glass. What exactly is it you are trying to do?
The account command lets you insert a new Account into the Account Manager on Glass. You are logging in using a Service account. What is it you are trying to do exactly. More information needed.
 
Thanks DalmTo. I'm trying to insert an account into the mirror api so that I can retrieve the account on the set of glasses that authenticated when the app was installed in MyGlass. I'm following Google's documentation on this, which specifically says you should use a service account to do this. Granted the documentation could be wrong, but they've referred to it themselves throughout the approval process, so I'm pretty sure it's correct.
 
where is this documentation, you speak of? I use Oauth2 for mine, I cant understand how they would think a service account would work. but this may just be something I haven't heard of.
 
10:18 AM
that's your probably that's only for applications installed on glass. You cant install a .net application on to glass only android.
 
No it's specifically for running on server side apps. That's why it's a service account and not a client account.
 

  last day (23 days later) »