I'm developing google glass server using node.js and I'd like to insert account at google glass
In docs, they let me know using 'mirror.accounts.insert' with "https://www.googleapis.com/auth/glass.thirdpartyauth"
but in googleapis(google-api-nodejs-client), doesn't have function.
without 'glass.thirdpartyauth', google return error like below
error: { errors:
[ { domain: 'global',
reason: 'insufficientPermissions',
message: 'Insufficient Permission' } ],
code: 403,
message: 'Insufficient Permission' }
I tried to use RAW HTTP code. like this
POST https://www.googleapis.com/mirror/v1/accounts/{userToken}/com.example.myapp/username%40email.com
but I can't..
How can I do that?
Thanks. Regards. :)