{"action":"created","issue":{"url":"https://api.github.com/repos/damienbod/angular-auth-oidc-client/issues/164","repository_url":"https://api.github.com/repos/damienbod/angular-auth-oidc-client","labels_url":"https://api.github.com/repos/damienbod/angular-auth-oidc-client/issues/164/labels{/name}","comments_url":"https://api.github.com/repos/damienbod/angular-auth-oidc-client/issues/164/comments","events_url":"https://api.github.com/repos/damienbod/angular-auth-oidc-client/issues/164/events","html_url":"https://github.com/damienbod/angular-auth-oidc-client/issues/164","id":291858080,"number":164,"title":"Unhandled Promise rejection: StaticInjectorError(AppModule)[OidcSecurityService -> Router]","user":{"login":"umfaruki","id":7438486,"avatar_url":"https://avatars0.githubusercontent.com/u/7438486?v=4","gravatar_id":"","url":"https://api.github.com/users/umfaruki","html_url":"https://github.com/umfaruki","followers_url":"https://api.github.com/users/umfaruki/followers","following_url":"https://api.github.com/users/umfaruki/following{/other_user}","gists_url":"https://api.github.com/users/umfaruki/gists{/gist_id}","starred_url":"https://api.github.com/users/umfaruki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umfaruki/subscriptions","organizations_url":"https://api.github.com/users/umfaruki/orgs","repos_url":"https://api.github.com/users/umfaruki/repos","events_url":"https://api.github.com/users/umfaruki/events{/privacy}","received_events_url":"https://api.github.com/users/umfaruki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-26T10:27:45Z","updated_at":"2018-02-08T14:49:29Z","closed_at":null,"author_association":"NONE","body":"I am trying to implement this and facing this issue please help:\r\n\r\nerror is \r\n![untitled](https://user-images.githubusercontent.com/7438486/35435665-679f3746-02ad-11e8-807c-32944a6c6290.png)\r\n\r\ni am using angular 5.2.2\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/damienbod/angular-auth-oidc-client/issues/comments/364134390","html_url":"https://github.com/damienbod/angular-auth-oidc-client/issues/164#issuecomment-364134390","issue_url":"https://api.github.com/repos/damienbod/angular-auth-oidc-client/issues/164","id":364134390,"user":{"login":"sric88","id":19822767,"avatar_url":"https://avatars2.githubusercontent.com/u/19822767?v=4","gravatar_id":"","url":"https://api.github.com/users/sric88","html_url":"https://github.com/sric88","followers_url":"https://api.github.com/users/sric88/followers","following_url":"https://api.github.com/users/sric88/following{/other_user}","gists_url":"https://api.github.com/users/sric88/gists{/gist_id}","starred_url":"https://api.github.com/users/sric88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sric88/subscriptions","organizations_url":"https://api.github.com/users/sric88/orgs","repos_url":"https://api.github.com/users/sric88/repos","events_url":"https://api.github.com/users/sric88/events{/privacy}","received_events_url":"https://api.github.com/users/sric88/received_events","type":"User","site_admin":false},"created_at":"2018-02-08T14:49:29Z","updated_at":"2018-02-08T14:49:29Z","author_association":"NONE","body":"I faced similar issue with Service instead of Router, I added my service to the [providers] array in my app.module.ts and also removed map function in my service. \r\n\r\nthis may help you. Please check"}}
{"actor":{"display_login":"sric88"}}