{"action":"opened","issue":{"url":"https://api.github.com/repos/samuelmolinski/issueTests/issues/80","repository_url":"https://api.github.com/repos/samuelmolinski/issueTests","labels_url":"https://api.github.com/repos/samuelmolinski/issueTests/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/samuelmolinski/issueTests/issues/80/comments","events_url":"https://api.github.com/repos/samuelmolinski/issueTests/issues/80/events","html_url":"https://github.com/samuelmolinski/issueTests/issues/80","id":186410767,"number":80,"title":"Switch NAAS service to Renew token from Bridge","user":{"login":"e-enterprise-portal-team","id":20970620,"avatar_url":"https://avatars.githubusercontent.com/u/20970620?v=3","gravatar_id":"","url":"https://api.github.com/users/e-enterprise-portal-team","html_url":"https://github.com/e-enterprise-portal-team","followers_url":"https://api.github.com/users/e-enterprise-portal-team/followers","following_url":"https://api.github.com/users/e-enterprise-portal-team/following{/other_user}","gists_url":"https://api.github.com/users/e-enterprise-portal-team/gists{/gist_id}","starred_url":"https://api.github.com/users/e-enterprise-portal-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-enterprise-portal-team/subscriptions","organizations_url":"https://api.github.com/users/e-enterprise-portal-team/orgs","repos_url":"https://api.github.com/users/e-enterprise-portal-team/repos","events_url":"https://api.github.com/users/e-enterprise-portal-team/events{/privacy}","received_events_url":"https://api.github.com/users/e-enterprise-portal-team/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-31T22:01:07Z","updated_at":"2016-10-31T22:01:07Z","closed_at":null,"body":"Currently create new Token. We want to information from the bridge which is included in the token.\r\n\r\n*Meeting Notes with Dave Dundua*\r\n* We can renew the token from Bridge given the Bridge. CDX current practices do not renew tokens, instead they use them in the instances required.\r\n\r\n*Technical Tasks*\r\n* -Ben work with [~lgentry] to access Bridge token and ip address.-\r\n* -Test token from bridge with bridge IP, using method Renew.-\r\n* -Create Feature Toggle to use token from Bridge instead of always creating new token.-\r\n* -Store token in user cache from bridge on login.- (currently stored in session. Keeping session)\r\n* -In CDX Facility Management module, use SOAP method Renew (Renew Token is already a function ready to use).-\r\n* {color:red}When the token is expired, renew instead of created a new token.{color} This does not work. After testing you can not actually renew a token that has expired. You can renew a token while it is still active and it will reset the expiration time. If we are comfortable to time the user out from the Facility Widget after 20 minutes, the plan is to renew the token on logging in then force the user to login for more activity. This would mirror the CDX time out.\r\n\r\n*Progress Summary*\r\n* The IP Address bound with the NAAS token from Bridge is the users public IP address.\r\n* Renew works to return a valid token under a maxed time out. Rebind does not work, but returns an \"Invalid token error\".\r\n* Waiting for internal partner to change keys in NAAS token. This will be delivered  Friday, 8/05/16."}}
{"actor":{"display_login":"e-enterprise-portal-team"}}