{"action":"created","issue":{"url":"https://api.github.com/repos/CodisLabs/codis/issues/1575","repository_url":"https://api.github.com/repos/CodisLabs/codis","labels_url":"https://api.github.com/repos/CodisLabs/codis/issues/1575/labels{/name}","comments_url":"https://api.github.com/repos/CodisLabs/codis/issues/1575/comments","events_url":"https://api.github.com/repos/CodisLabs/codis/issues/1575/events","html_url":"https://github.com/CodisLabs/codis/issues/1575","id":363394922,"node_id":"MDU6SXNzdWUzNjMzOTQ5MjI=","number":1575,"title":"session_auth 和 product_auth ","user":{"login":"leeyo","id":5437347,"node_id":"MDQ6VXNlcjU0MzczNDc=","avatar_url":"https://avatars0.githubusercontent.com/u/5437347?v=4","gravatar_id":"","url":"https://api.github.com/users/leeyo","html_url":"https://github.com/leeyo","followers_url":"https://api.github.com/users/leeyo/followers","following_url":"https://api.github.com/users/leeyo/following{/other_user}","gists_url":"https://api.github.com/users/leeyo/gists{/gist_id}","starred_url":"https://api.github.com/users/leeyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeyo/subscriptions","organizations_url":"https://api.github.com/users/leeyo/orgs","repos_url":"https://api.github.com/users/leeyo/repos","events_url":"https://api.github.com/users/leeyo/events{/privacy}","received_events_url":"https://api.github.com/users/leeyo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-25T03:18:37Z","updated_at":"2018-09-26T00:41:33Z","closed_at":null,"author_association":"NONE","body":"使用的release3.2版本，根据文档的说明，product_auth 用于 codis-dashboard 、codis-proxy、codis-server 之间的认证，session_auth 用于 client -> codis-proxy 的认证。然后我将 product_auth 设置为  12345678  ，将 session_auth 设置为  88888888，并连接 codis-proxy 进行测试:\r\n`$ /data/opt/codis/bin/redis-cli -h 127.0.0.1 -p 19000 -a 88888888 get test1\r\n(error) NOAUTH Authentication required`\r\n\r\n\r\n`$ /data/opt/codis/bin/redis-cli -h 127.0.0.1 -p 19000 -a 12345678 get test1\r\n(nil)\r\n`\r\n实际测试发现，使用product_auth可以认证成功，使用session_auth则不能"},"comment":{"url":"https://api.github.com/repos/CodisLabs/codis/issues/comments/424547196","html_url":"https://github.com/CodisLabs/codis/issues/1575#issuecomment-424547196","issue_url":"https://api.github.com/repos/CodisLabs/codis/issues/1575","id":424547196,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDU0NzE5Ng==","user":{"login":"weilinqwe","id":11835705,"node_id":"MDQ6VXNlcjExODM1NzA1","avatar_url":"https://avatars0.githubusercontent.com/u/11835705?v=4","gravatar_id":"","url":"https://api.github.com/users/weilinqwe","html_url":"https://github.com/weilinqwe","followers_url":"https://api.github.com/users/weilinqwe/followers","following_url":"https://api.github.com/users/weilinqwe/following{/other_user}","gists_url":"https://api.github.com/users/weilinqwe/gists{/gist_id}","starred_url":"https://api.github.com/users/weilinqwe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weilinqwe/subscriptions","organizations_url":"https://api.github.com/users/weilinqwe/orgs","repos_url":"https://api.github.com/users/weilinqwe/repos","events_url":"https://api.github.com/users/weilinqwe/events{/privacy}","received_events_url":"https://api.github.com/users/weilinqwe/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T00:41:33Z","updated_at":"2018-09-26T00:41:33Z","author_association":"NONE","body":"没研究过，我就是把product_auth和session_auth配置成一样就可以了。"}}
{"actor":{"display_login":"weilinqwe"}}