Is there a way to get the owner email?

photon
Tags: #<Tag:0x00007f1c9f3e58b0>

#1

I’m doing a photon particle app. But I’m wondering if there is a way to access the owner name from the .ino file.

I read on the docs that your could use something like particle/device/device to get the name of the device. But I can’t find a way to access the owner


#2

That would go the wrong way round and pose a security risk IMO.
You’d rather need to know the owner’s email (and password) in order to get an access token.
If you could just throw in any random access token or device ID and could this way retrieve the connected account that would be bad.


#3

that used to require that the device was rooted and the android app had admin rights [to do it with an android app]. i doubt it’s changed if it’s still possible. so i doubt you could find a way to do it from particle .ino.