Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

天猫精灵显示token返回不正确 #6

Open
fireinice opened this issue Mar 14, 2019 · 1 comment
Open

天猫精灵显示token返回不正确 #6

fireinice opened this issue Mar 14, 2019 · 1 comment

Comments

@fireinice
Copy link

fireinice commented Mar 14, 2019

使用aligenie.py放到customize_components后,configuration中配置了aligenie,
aligenie:
expire_hours: 8760

但是从天猫精灵平台点进行配置后,显示token返回不正确。

debug日志中可以看到有code返回了:
2019-03-14 14:11:39 INFO (MainThread) [homeassistant.components.http.view] Serving /auth/login_flow/2d814dfec6b54696994597a80f3fed26

但是没看到token相关的访问记录
请问需要再额外配置什么么?

天猫精灵开放平台配置如下:
`账户授权连接
https://abc.com:543/auth/authorize
Client ID
https://open.bot.tmall.com/
Client Secret
doesntmatter
跳转 URL
https://open.bot.tmall.com/oauth/callback

Access Token URL
https://abc.com:543/auth/token
`

@Yonsm
Copy link
Owner

Yonsm commented Aug 29, 2019

抱歉,请问现在好了么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants