{"action":"created","issue":{"url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/446","repository_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc","labels_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/446/comments","events_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/446/events","html_url":"https://github.com/manfredsteyer/angular-oauth2-oidc/issues/446","id":365965335,"node_id":"MDU6SXNzdWUzNjU5NjUzMzU=","number":446,"title":"redirect to home page after silent refresh","user":{"login":"artemukolov","id":11043617,"node_id":"MDQ6VXNlcjExMDQzNjE3","avatar_url":"https://avatars3.githubusercontent.com/u/11043617?v=4","gravatar_id":"","url":"https://api.github.com/users/artemukolov","html_url":"https://github.com/artemukolov","followers_url":"https://api.github.com/users/artemukolov/followers","following_url":"https://api.github.com/users/artemukolov/following{/other_user}","gists_url":"https://api.github.com/users/artemukolov/gists{/gist_id}","starred_url":"https://api.github.com/users/artemukolov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artemukolov/subscriptions","organizations_url":"https://api.github.com/users/artemukolov/orgs","repos_url":"https://api.github.com/users/artemukolov/repos","events_url":"https://api.github.com/users/artemukolov/events{/privacy}","received_events_url":"https://api.github.com/users/artemukolov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-02T15:53:42Z","updated_at":"2018-10-09T12:51:41Z","closed_at":null,"author_association":"NONE","body":"Hello, I did silent refreshing regarding your documentation.\r\n\r\nWhen I try to call \r\n\r\n`      this\r\n        .oauthService\r\n        .silentRefresh()\r\n        .then((info) => console.warn('refresh ok', info))\r\n        .catch((err) => console.error('refresh error', err));\r\n`\r\nThen I got message in console: \r\n\r\n`\r\nOAuthSuccessEvent\r\ninfo: null\r\ntype: \"silently_refreshed\"\r\n`\r\n\r\nAnd then app is redirect to main page.\r\n\r\nHow to prevent this redirecting? Thank you.\r\n"},"comment":{"url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/comments/428179429","html_url":"https://github.com/manfredsteyer/angular-oauth2-oidc/issues/446#issuecomment-428179429","issue_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/446","id":428179429,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE3OTQyOQ==","user":{"login":"ntagdev","id":14348688,"node_id":"MDQ6VXNlcjE0MzQ4Njg4","avatar_url":"https://avatars1.githubusercontent.com/u/14348688?v=4","gravatar_id":"","url":"https://api.github.com/users/ntagdev","html_url":"https://github.com/ntagdev","followers_url":"https://api.github.com/users/ntagdev/followers","following_url":"https://api.github.com/users/ntagdev/following{/other_user}","gists_url":"https://api.github.com/users/ntagdev/gists{/gist_id}","starred_url":"https://api.github.com/users/ntagdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ntagdev/subscriptions","organizations_url":"https://api.github.com/users/ntagdev/orgs","repos_url":"https://api.github.com/users/ntagdev/repos","events_url":"https://api.github.com/users/ntagdev/events{/privacy}","received_events_url":"https://api.github.com/users/ntagdev/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T12:51:41Z","updated_at":"2018-10-09T12:51:41Z","author_association":"NONE","body":"We have the same problem. I think the main difference in our project is that we use HashStrategy for routing. Is there a way to redirect to url before silently refreshed if silent refresh is setup automically?"}}
{"actor":{"display_login":"ndevtag"}}