I’m trying to set up my Alexa to control my Yeelights, which has worked in the past.
This time, I can’t connect the Alexa Skill to my Xiaomi account, it’s giving an OAuth2 Error:
invalid redirect uri
The URL with the error is:
https://account.xiaomi.com/oauth2/authorize?client_id=2882303761517527659&response_type=code&state=[Removed for privacy]&scope=1+3+6000&redirect_uri=https%3A%2F%2Falexa.amazon.co.jp%2Fapi%2Fskill%2Flink%2FM2O27BYOX64O
For some reason it’s using Alexa.co.jp in the redirect_uri, but I’m in Australia, could that be the problem?
I think this issue is with Xiaomi’s OAuth2 configuration.