{"action":"opened","issue":{"url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/330","repository_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc","labels_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/330/labels{/name}","comments_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/330/comments","events_url":"https://api.github.com/repos/manfredsteyer/angular-oauth2-oidc/issues/330/events","html_url":"https://github.com/manfredsteyer/angular-oauth2-oidc/issues/330","id":325217029,"number":330,"title":"Starting implicit flow not working after back navigation on keycloak","user":{"login":"rubiktubik","id":115047,"avatar_url":"https://avatars0.githubusercontent.com/u/115047?v=4","gravatar_id":"","url":"https://api.github.com/users/rubiktubik","html_url":"https://github.com/rubiktubik","followers_url":"https://api.github.com/users/rubiktubik/followers","following_url":"https://api.github.com/users/rubiktubik/following{/other_user}","gists_url":"https://api.github.com/users/rubiktubik/gists{/gist_id}","starred_url":"https://api.github.com/users/rubiktubik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubiktubik/subscriptions","organizations_url":"https://api.github.com/users/rubiktubik/orgs","repos_url":"https://api.github.com/users/rubiktubik/repos","events_url":"https://api.github.com/users/rubiktubik/events{/privacy}","received_events_url":"https://api.github.com/users/rubiktubik/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-22T09:44:15Z","updated_at":"2018-05-22T09:44:15Z","closed_at":null,"author_association":"NONE","body":"I'am using this awesome library with keycloak as an Auth-Provider.\r\nEverything works without problem in the \"happy-path\":\r\n\r\n1. User hit the login button\r\n2. Calling the `initImplicitFlow` method\r\n3. The keycloak login-page shows up\r\n4. User enters his credentials \r\n5. Redirection to angular-app\r\n\r\nBut when on the keycloak-page the user click the back-button of the browser and then again in the angular-app hits the login-button nothing happens. No redirection to keycloak. Only when i manually navigate to the App-root in the browser it works again.\r\n\r\nIt's a very strange behaviour, but perhaps someone know an solution to it :-)\r\n\r\nMy authConfig:\r\n```javascript\r\nexport const authConfig: AuthConfig = {\r\n  // Url of the Identity Provider\r\n  issuer: AppSettings.AUTH_SERVER,\r\n\r\n  // URL of the SPA to redirect the user to after login\r\n  redirectUri: window.location.origin + \"/index.html\",\r\n\r\n  // The SPA's id. The SPA is registerd with this id at the auth-server\r\n  clientId: \"angular-app-1\",\r\n\r\n  showDebugInformation: true,\r\n\r\n  silentRefreshRedirectUri: window.location.origin + \"/silent-refresh.html\",\r\n\r\n  // set the scope for the permissions the client should request\r\n  // The first three are defined by OIDC. The 4th is a usecase-specific one\r\n  scope: \"openid profile email dashboardapi_user\"\r\n};\r\n```\r\nI don't know if this is an issue but i'am using the HashLocationStrategy for routing.\r\nI'am using Version **3.1.4**"}}
{"actor":{"display_login":"rubiktubik"}}