{"action":"created","issue":{"url":"https://api.github.com/repos/adrienverge/openfortivpn/issues/27","labels_url":"https://api.github.com/repos/adrienverge/openfortivpn/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/adrienverge/openfortivpn/issues/27/comments","events_url":"https://api.github.com/repos/adrienverge/openfortivpn/issues/27/events","html_url":"https://github.com/adrienverge/openfortivpn/pull/27","id":119066507,"number":27,"title":"Add initial support for two-factor authentication.","user":{"login":"dsgwork","id":15943124,"avatar_url":"https://avatars.githubusercontent.com/u/15943124?v=3","gravatar_id":"","url":"https://api.github.com/users/dsgwork","html_url":"https://github.com/dsgwork","followers_url":"https://api.github.com/users/dsgwork/followers","following_url":"https://api.github.com/users/dsgwork/following{/other_user}","gists_url":"https://api.github.com/users/dsgwork/gists{/gist_id}","starred_url":"https://api.github.com/users/dsgwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsgwork/subscriptions","organizations_url":"https://api.github.com/users/dsgwork/orgs","repos_url":"https://api.github.com/users/dsgwork/repos","events_url":"https://api.github.com/users/dsgwork/events{/privacy}","received_events_url":"https://api.github.com/users/dsgwork/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-26T15:38:41Z","updated_at":"2015-11-28T15:04:17Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/adrienverge/openfortivpn/pulls/27","html_url":"https://github.com/adrienverge/openfortivpn/pull/27","diff_url":"https://github.com/adrienverge/openfortivpn/pull/27.diff","patch_url":"https://github.com/adrienverge/openfortivpn/pull/27.patch"},"body":"This commit adds initial support for two-factor authentication, where\r\nthe FortiGate sends a challenge through email/SMS after initial\r\nuser/password login and expects the user to provide the challenge\r\nas a second authentication method.\r\n\r\nThis is tested working on FortiOS 5.2, with SMS tokens. It's very likely\r\nthat not all possible token authentication setups are supported (not sure\r\nwhat the \"code2=\" parameter does, for example).\r\n"},"comment":{"url":"https://api.github.com/repos/adrienverge/openfortivpn/issues/comments/160307579","html_url":"https://github.com/adrienverge/openfortivpn/pull/27#issuecomment-160307579","issue_url":"https://api.github.com/repos/adrienverge/openfortivpn/issues/27","id":160307579,"user":{"login":"adrienverge","id":5244945,"avatar_url":"https://avatars.githubusercontent.com/u/5244945?v=3","gravatar_id":"","url":"https://api.github.com/users/adrienverge","html_url":"https://github.com/adrienverge","followers_url":"https://api.github.com/users/adrienverge/followers","following_url":"https://api.github.com/users/adrienverge/following{/other_user}","gists_url":"https://api.github.com/users/adrienverge/gists{/gist_id}","starred_url":"https://api.github.com/users/adrienverge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrienverge/subscriptions","organizations_url":"https://api.github.com/users/adrienverge/orgs","repos_url":"https://api.github.com/users/adrienverge/repos","events_url":"https://api.github.com/users/adrienverge/events{/privacy}","received_events_url":"https://api.github.com/users/adrienverge/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T15:04:17Z","updated_at":"2015-11-28T15:04:17Z","body":"I just pushed some changes (automatic linting); so you'll need to rebase on `master` (no big deal -- just a conflict in `src/http.c`)."}}