Hello,
I am trying to create a OAuth-in Smartapp with the SmartThings CLI as mentioned here: OAuth Integrations | Developer Documentation | SmartThings
- targetURL: I do not have a Smartapp yet, thus I am leaving the target URL blank (as per the documentation, that shouldn’t be a problem)
- permissions (scopes): rwx:devices
- redirectURL: https://httpbin.org/get
However, after logging in, I get the following message:
Thus I am not able to successfully create the OAuth-in integration.I’ve also tried to create the Smartapp via the Developer’s Workspace, placing https://httpbin.org/get as the target URL, since here it is mandatory and I couldn’t find out how to add a redirect URL. However, once I go to https://api.smartthings.com/oauth/authorize?client_id= <my_client_id>&response_type=code&redirect_uri=https://httpbin.org/get&scope=r:devices:*+w:devices:*+x:devices:*
it tells me 'redirect_uri' could not be validated, thus I am also unsuccessful via this route.
Could someone please guide me on why these errors are appearing and what to do to complete an OAuth-in integration? Thank you in advance!
