Oauth, opportunity to accept and decline


(Thomas Yang) #1

Hi, I am trying to implement oath2 and I am almost done. Actually its done, but there is one problem.
on the web side, if I log in to third-party through Web IDE, it asks a permission for the smartthings and if I agree I can get the access token, no problem. However, on the phone, after saving it and publish it for myself, after I log on to the third-party it doesn’t ask me for the permission. So, I cannot get the access token. As I know they are the same sets, which are just running on the different environment, machine. You guys have any idea???


(Thomas Yang) #2

I figured it out…
It was app ID. Cause I have different app ID on my app and web. So, it gave me false.