title: angular-oauth2-oidc logout invalid+token error
body: <p>I have an angular 5 application in which I have implemented angular2-oauth-oidc with okta.</p>
  
  <p>I am getting 400 Bad Request error saying Invalid_token when I tried to logout. It seems the session has been expired.</p>
  
  <p>On clicking logout button the code used to logout is as follows:</p>
  
  <pre><code>this.oauthService.logOut();
  </code></pre>
  
  <p>My app.component.ts file:</p>
  
  <pre><code>this.oauthService.redirectUri = window.location.origin;
      this.oauthService.clientId = oktaClientId;
      this.oauthService.scope = 'openid profile email';
      this.oauthService.issuer = 'https://aaaa.oktapreview.com';
      this.oauthService.tokenValidationHandler = new JwksValidationHandler();
      this.oauthService.setupAutomaticSilentRefresh();
  
      // Load Discovery Document and then try to login the user
      this.oauthService.loadDiscoveryDocument().then(() =&gt; {
        this.oauthService.tryLogin({
          onTokenReceived: (info) =&gt; {
            this.router.navigate([info.state]);
          }
        });
  </code></pre>
  
  <p>Please help to handle logout, once the session has been expired. thanks in advance.</p>