{"action":"created","issue":{"url":"https://api.github.com/repos/okta/okta.github.io/issues/1745","repository_url":"https://api.github.com/repos/okta/okta.github.io","labels_url":"https://api.github.com/repos/okta/okta.github.io/issues/1745/labels{/name}","comments_url":"https://api.github.com/repos/okta/okta.github.io/issues/1745/comments","events_url":"https://api.github.com/repos/okta/okta.github.io/issues/1745/events","html_url":"https://github.com/okta/okta.github.io/pull/1745","id":296020219,"number":1745,"title":"Added autopush parameter for verify call and autoPushEnabled in JSON …","user":{"login":"kentonsmith-okta","id":19472516,"avatar_url":"https://avatars2.githubusercontent.com/u/19472516?v=4","gravatar_id":"","url":"https://api.github.com/users/kentonsmith-okta","html_url":"https://github.com/kentonsmith-okta","followers_url":"https://api.github.com/users/kentonsmith-okta/followers","following_url":"https://api.github.com/users/kentonsmith-okta/following{/other_user}","gists_url":"https://api.github.com/users/kentonsmith-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/kentonsmith-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentonsmith-okta/subscriptions","organizations_url":"https://api.github.com/users/kentonsmith-okta/orgs","repos_url":"https://api.github.com/users/kentonsmith-okta/repos","events_url":"https://api.github.com/users/kentonsmith-okta/events{/privacy}","received_events_url":"https://api.github.com/users/kentonsmith-okta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-09T21:38:26Z","updated_at":"2018-02-13T17:56:10Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/okta/okta.github.io/pulls/1745","html_url":"https://github.com/okta/okta.github.io/pull/1745","diff_url":"https://github.com/okta/okta.github.io/pull/1745.diff","patch_url":"https://github.com/okta/okta.github.io/pull/1745.patch"},"body":"…response for primary auth call.\r\n\r\n## Description:\r\n- Added Okta Verify Factor and`autoPushEnabled` key to be returned in one of the existing primary auth responses so I could use that as an example when showing customers how they can see the Auto-Push preference that they have set earlier during poll calls.  \r\n- Added `autoPush` as a param to the documentation for Verifying a Push Notification\r\n- Added extra details about how `autoPush` and `autoPushEnabled` are related and in what use case are they necessary.\r\n\r\n### Documentation for....:\r\n* [OKTA-155563](https://oktainc.atlassian.net/browse/OKTA-155563)\r\n\r\n### Reviewers\r\nPrimary: @nandagopalseshagiri-okta @ericcarroll-okta @mystiberry-okta \r\nSecondary: @mauriciocastillosilva-okta @gowthamidommety-okta .\r\n\r\nPictures showing changes below (stuff in red box is new stuff I've added).\r\n\r\n![tophalfdevdocchanges](https://user-images.githubusercontent.com/19472516/36051341-a4b4f61a-0d9e-11e8-856e-ca49ee4bd080.png)\r\n\r\n\r\n![bottomhalfdevdocchanges](https://user-images.githubusercontent.com/19472516/36053455-9f58e99e-0da6-11e8-98a5-d652d8a6551e.png)\r\n\r\n\r\nBackend logic Snippet for when we return `autoPushEnabled` in /api/v1/authn\r\n```\r\nCookie cookie = CookieUtil.getCookie(request, autoPushCookieKey);\r\n\r\nboolean autoPushSettingsCookieValue;\r\nautoPushSettingsCookieValue = cookie != null ? Boolean.valueOf(cookie.getValue()) : false;\r\n\r\nMap<String, Object> autoPushEnabledSettings = new HashMap<String, Object>();\r\n\r\nautoPushEnabledSettings.put(AuthFactorsMediationService.OKTA_VERIFY_AUTO_PUSH_ENABLED_KEY, autoPushSettingsCookieValue);\r\n\r\nfactorsPolicyInfo.put(userFactor.getId(), autoPushEnabledSettings);\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/okta/okta.github.io/issues/comments/365349448","html_url":"https://github.com/okta/okta.github.io/pull/1745#issuecomment-365349448","issue_url":"https://api.github.com/repos/okta/okta.github.io/issues/1745","id":365349448,"user":{"login":"mystiberry-okta","id":17009066,"avatar_url":"https://avatars2.githubusercontent.com/u/17009066?v=4","gravatar_id":"","url":"https://api.github.com/users/mystiberry-okta","html_url":"https://github.com/mystiberry-okta","followers_url":"https://api.github.com/users/mystiberry-okta/followers","following_url":"https://api.github.com/users/mystiberry-okta/following{/other_user}","gists_url":"https://api.github.com/users/mystiberry-okta/gists{/gist_id}","starred_url":"https://api.github.com/users/mystiberry-okta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mystiberry-okta/subscriptions","organizations_url":"https://api.github.com/users/mystiberry-okta/orgs","repos_url":"https://api.github.com/users/mystiberry-okta/repos","events_url":"https://api.github.com/users/mystiberry-okta/events{/privacy}","received_events_url":"https://api.github.com/users/mystiberry-okta/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T17:56:10Z","updated_at":"2018-02-13T17:56:10Z","author_association":"MEMBER","body":"@kentonsmith-okta I'll leave a few comments by noon (just nits, nothing big). To make the Travis tests succeed, you'll need to rebase on weekly (we had a broken link that's been fixed)."}}
{"actor":{"display_login":"mystiberry-okta"}}