{"action":"opened","issue":{"url":"https://api.github.com/repos/kennykimjr/armorbot/issues/3","repository_url":"https://api.github.com/repos/kennykimjr/armorbot","labels_url":"https://api.github.com/repos/kennykimjr/armorbot/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/kennykimjr/armorbot/issues/3/comments","events_url":"https://api.github.com/repos/kennykimjr/armorbot/issues/3/events","html_url":"https://github.com/kennykimjr/armorbot/issues/3","id":333519555,"node_id":"MDU6SXNzdWUzMzM1MTk1NTU=","number":3,"title":"User Can Login Securely Using Discord OATH2 and Argon2","user":{"login":"kennykimjr","id":26865352,"node_id":"MDQ6VXNlcjI2ODY1MzUy","avatar_url":"https://avatars0.githubusercontent.com/u/26865352?v=4","gravatar_id":"","url":"https://api.github.com/users/kennykimjr","html_url":"https://github.com/kennykimjr","followers_url":"https://api.github.com/users/kennykimjr/followers","following_url":"https://api.github.com/users/kennykimjr/following{/other_user}","gists_url":"https://api.github.com/users/kennykimjr/gists{/gist_id}","starred_url":"https://api.github.com/users/kennykimjr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennykimjr/subscriptions","organizations_url":"https://api.github.com/users/kennykimjr/orgs","repos_url":"https://api.github.com/users/kennykimjr/repos","events_url":"https://api.github.com/users/kennykimjr/events{/privacy}","received_events_url":"https://api.github.com/users/kennykimjr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-19T05:00:03Z","updated_at":"2018-06-19T05:00:03Z","closed_at":null,"author_association":"OWNER","body":"# Motivation\r\nWe want to be able to allow the user to login to the dashboard using Discord and the Argon2 hash to securely log in the user. \r\n\r\n# Task Implementation\r\n- [ ] Set up the mongodb database.\r\n- [ ] Set up the mechanism to which the user can Make a request to OAUTH themselves to discord.\r\n- [ ] Make sure that on a successful OAUTH login, the user re-directed back to the page with the information updated.\r\n- [ ] Create a unique function that mixes in both the OAUTH grant and the user's unique identification. \r\n- [ ] Be able to hash this function in argon2.\r\n- [ ] Be able to store the hash into the database.\r\n- [ ] Be able to revoke access to the application when the token is expired. \r\n- [ ] Make sure that the database correctly refreshes the hash instance on an expired or invalid token."}}
{"actor":{"display_login":"kennykimjr"}}