User bloqued ?

The Netatmo API is a set of webservices allowing developers and third parties to access Netatmo device's data.
Post Reply
jc999
Posts: 92
Joined: 26 Nov 2014, 11:49
Location: Bruxelles

User bloqued ?

Post by jc999 » 23 Oct 2017, 20:27

Hi,

I am developping an application, and I asked a friend to test it with his netatmo connection...
He received a mail from netatmo saying that his account was bloqued since my app was trying to connect with his creditentials...

Hug ?
What should I do to allow him using the app ?

I am using the php sdk from git...

Arf... my bad.. I forgot the authorisation stuff...


JC.

Thiaga
Posts: 52
Joined: 03 Jun 2013, 16:21

Re: User bloqued ?

Post by Thiaga » 25 Oct 2017, 14:57

Hi Jc,

Please use Authorization code grant type and not Client credentials grant type to avoid this.
Please follow this link for furthur details:
https://dev.netatmo.com/resources/techn ... zationcode
Have a nice day.

Thiaga

jc999
Posts: 92
Joined: 26 Nov 2014, 11:49
Location: Bruxelles

Re: User bloqued ?

Post by jc999 » 25 Oct 2017, 17:09

thanks thiaga,
indeed... I noted this just after having sent my message.
I changed from credentials to authorization code on my app, now everything is ok.
I even prefer the authorization code since it feels more secure from a end-user point of view, the users don't need to type in their password in my app...

jc

Post Reply

Return to “Netatmo API”