Oauth2 redirect_uri not being called

Hi,

I’m trying to get a Oauth token for my SmartApp. I get to the SmartThings authorize devices page. After choosing my location and devices and clicking authorize, nothing happens. There’s no redirect back to the redirect_uri specified in the initial GET request.

This is how the initial GET request is made:

https://graph.api.smartthings.com/oauth/confirm_access?response_type=code&scope=app&redirect_uri=example.com%3A8443%2F%2Fdashboard%2Flink%2Fsmartthingspostback.html&client_id=myclientid

What am I doing wrong? Shouldn’t it redirect back to my site?

Thank you,

Thomas

Never mind, I was missing https:// in my redirect uri.

2 Likes