Alexa Skill - OAuth2 Issue


#1

Hi,

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.


#2

It’s also worth noting I’ve tried the mobile Alexa app and the website.


#3

I’ve have exactly the same issue. I’m in Australia, have two yeelight color globes, two strip lights that have worked perfectly for about 3 months. Looks like Amazon app has upgraded to allow Australian location. I get the uri error now. Skill won’t enable. Same error. Frustrating.


#4

We will fix it as soon as possible.


#5

The issue is fixed. Please have a test.


#7

The issue is fixed. Please have a try.


#8

Thank you for fixing so quickly. It’s working for me now.