Closed JoaoCnh closed 8 years ago
Hey I just started trying Kraken out and I'm seeing this repo to config passport into Kraken.
I've pretty much figured it out but now isAuthenticated is called when I go to root route ('/') and even on /login, which it shouldn't.
Is there something I'm missing? Where can I find the file where we control this?
isAuthenticated is added to the middleware chain here: https://github.com/krakenjs/kraken-example-with-passport/blob/master/config/config.json#L89-L96
isAuthenticated
Hey I just started trying Kraken out and I'm seeing this repo to config passport into Kraken.
I've pretty much figured it out but now isAuthenticated is called when I go to root route ('/') and even on /login, which it shouldn't.
Is there something I'm missing? Where can I find the file where we control this?