{"action":"created","issue":{"url":"https://api.github.com/repos/uport-project/uport-connect/issues/152","repository_url":"https://api.github.com/repos/uport-project/uport-connect","labels_url":"https://api.github.com/repos/uport-project/uport-connect/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/uport-project/uport-connect/issues/152/comments","events_url":"https://api.github.com/repos/uport-project/uport-connect/issues/152/events","html_url":"https://github.com/uport-project/uport-connect/issues/152","id":339246611,"node_id":"MDU6SXNzdWUzMzkyNDY2MTE=","number":152,"title":"Usage with progressive web apps (PWAs)","user":{"login":"magician11","id":3735849,"node_id":"MDQ6VXNlcjM3MzU4NDk=","avatar_url":"https://avatars2.githubusercontent.com/u/3735849?v=4","gravatar_id":"","url":"https://api.github.com/users/magician11","html_url":"https://github.com/magician11","followers_url":"https://api.github.com/users/magician11/followers","following_url":"https://api.github.com/users/magician11/following{/other_user}","gists_url":"https://api.github.com/users/magician11/gists{/gist_id}","starred_url":"https://api.github.com/users/magician11/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magician11/subscriptions","organizations_url":"https://api.github.com/users/magician11/orgs","repos_url":"https://api.github.com/users/magician11/repos","events_url":"https://api.github.com/users/magician11/events{/privacy}","received_events_url":"https://api.github.com/users/magician11/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-08T18:28:06Z","updated_at":"2018-07-18T13:40:57Z","closed_at":"2018-07-18T13:40:57Z","author_association":"NONE","body":"In our app our uPort code looks something like this..\r\n\r\n```\r\nimport { Connect, SimpleSigner } from 'uport-connect';\r\n\r\nconst uport = new Connect('Our App', {\r\n  clientId: 'some id',\r\n  network: 'rinkeby',\r\n  signer: SimpleSigner(\r\n    'some long code'\r\n  )\r\n});\r\n\r\nexport { uport };\r\n```\r\n\r\n1. From a desktop browser, a QR code is shown, we scan the QR code with the uPort app scanner, and we can authenticate. This works great.\r\n\r\n2. In Chrome on an Android, it opens uPort, we authenticate, and it takes us back to that page with the credentials object, and the app goes from there. Also works great.\r\n\r\n3. As a PWA, it open the uPort app, we authenticate, but then it redirects back to the url of the app in the Chrome browser (not the PWA). So basically we go back to the login screen.\r\n\r\nIs there a fix or config to make this work for PWAs?\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/uport-project/uport-connect/issues/comments/405934734","html_url":"https://github.com/uport-project/uport-connect/issues/152#issuecomment-405934734","issue_url":"https://api.github.com/repos/uport-project/uport-connect/issues/152","id":405934734,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTkzNDczNA==","user":{"login":"pelle","id":8680,"node_id":"MDQ6VXNlcjg2ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/8680?v=4","gravatar_id":"","url":"https://api.github.com/users/pelle","html_url":"https://github.com/pelle","followers_url":"https://api.github.com/users/pelle/followers","following_url":"https://api.github.com/users/pelle/following{/other_user}","gists_url":"https://api.github.com/users/pelle/gists{/gist_id}","starred_url":"https://api.github.com/users/pelle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pelle/subscriptions","organizations_url":"https://api.github.com/users/pelle/orgs","repos_url":"https://api.github.com/users/pelle/repos","events_url":"https://api.github.com/users/pelle/events{/privacy}","received_events_url":"https://api.github.com/users/pelle/received_events","type":"User","site_admin":false},"created_at":"2018-07-18T13:40:57Z","updated_at":"2018-07-18T13:40:57Z","author_association":"CONTRIBUTOR","body":"@magician11 we are close to releasing a major new release which has breaking changes. Our promise based approach did not work for Chrome/Android use case, so we had to change it considerably. You can experiment with it now, just be aware that there will be a lot of change on this over the next couple of weeks before we release it #129 "}}
{"actor":{"display_login":"pelle"}}