eWeLink API v2

Here is the response during authorization:

clientId: "EGKosLVlG2g8JQMhG9WiLfqk2Bna7MjY"
redirectUrl: "http://127.0.0.1:8000/redirectUrl"
grantType: "authorization_code"
state: "001"
nonce: "lp4ympr5"
seq: "1693474508033"
authorization: "PfiC42YKIvz4SiScIL17mfeeCcRyeGSpJInJjpeiUuw"

And here is the response when trying to get the token:

status: 200
responseTime: 528
error: 405
msg: "invalid code"
data: {}

The response time for the token indicates that the reply was almost immediate.