title: Auth0 logging me out on reload, instead of fetching the user
body: <p>Following the auth0 documentation provided here: <a href="https://auth0.com/docs/quickstart/spa/angular2/01-login" rel="nofollow noreferrer">https://auth0.com/docs/quickstart/spa/angular2/01-login</a>, 
  the app defaults to login page on reload</p>
  
  <p>I've added the localAuthSetup() func in app.component.ts as provided in the documentation. The loggedIn var is always false. I've been debugging the code, but cannot figure out why that is.</p>
  
  <pre class="lang-js prettyprint-override"><code>  localAuthSetup() {
      // This should only be called on app initialization
      // Set up local authentication streams
      const checkAuth$ = this.isAuthenticated$.pipe(
        concatMap((loggedIn: boolean) =&gt; {
          if (loggedIn) {
            // If authenticated, get user and set in app
            // NOTE: you could pass options here if needed
            return this.getUser$();
          }
          // If not authenticated, return stream that emits 'false'
          return of(loggedIn);
        })
      );
      checkAuth$.subscribe((response: { [key: string]: any } | boolean) =&gt; {
        // If authenticated, response will be user object
        // If not authenticated, response will be 'false'
        this.loggedIn = !!response;
      });
    }
  </code></pre>
  
  <p>on page reload, I expect the user to be fetched, however, I get redirected to the sso login prompt.</p>