Ok i will bite, i have been looking at porting some smartapps from smartthings.
But i am failing after i have built the URL for example for Netatmo using the Cloud API i build the URL below, (I have removed all the keys/guids etc)
the issue is specifically around the Redirect Function that used to exist within smartthings. this would display the Netatmo site and ask for authentication and ask permission for the Application we are sending the client Id for has permissions to access the weatherstation.
now if i copy and paste the url manually into a browser i get the following page displayed
and when i accept it hits the callback page successfully and we can retrieve the token and refreshtoken.
but i can’t see a way to emulate the redirect so i can see the page within the frame of the installation Page. I could rewrite and have the end users write their username and password and force the auth etc… but that’s not the point of oAuth, the we are not supposed see or process the users passwords etc…
so how do we do this when using the Cloud API? what am i missing? there’s no documentation at all about this and cannot figure it out.