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

帳號使用 email 將導致一定無法登入? #2

Open
bobchao opened this issue Jun 21, 2021 · 1 comment
Open

帳號使用 email 將導致一定無法登入? #2

bobchao opened this issue Jun 21, 2021 · 1 comment

Comments

@bobchao
Copy link

bobchao commented Jun 21, 2021

body: "username=" + encodeURIComponent(username) + "&password=" + encodeURIComponent(password) + "&client_id=homebridge",

因為現在的帳號名稱都使用 email,這行 encodeURIComponent(username) 似乎導致即使設定了 username 也一定 user not found? ([email protected] -> accountname%40server.name -> user not found.)

我後來是自己用 postman 拿回 access token 的... 雖然設定了 access token 以後還是不知怎麼讓他出現在「家庭」App 裡

@PichuChen
Copy link
Member

會不會是帳號密碼打錯?這部分先前測試是OK的。

如果你那邊直接修改程式碼把 encodeURIComponent 的話有正常嗎?

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