- If we want to integrate smartthings API functionality, we need to be able user to log in to smartthings and get the corresponding token.
- Where can I find these related documents?
- I’ve only seen other people’s cases so far:Regarding API Access for Oauth integration
Operation Steps:
- Use the SmartThings CLI to create an app and obtain the clientId.
- Request through ‘https://api.smartthings.com/v1/oauth/authorize’, and upon logging in, I can obtain the corresponding code.
- When exchanging tokens with ‘https://api.smartthings.com/v1/oauth/token’ and the code, an error occurs: 404, keymanagement.service.invalid_request-authorization_code_invalid.