dialupnoises / steam-login

Simple Connect / Express Steam authentication library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After login users redirect to /verify

m4rve1337 opened this issue · comments

After login users redirect to /verify. How to redirect them to index?

You need to direct them to a route that has the steam.verify() middleware on it. You can then redirect from this route to the index:

app.get('/verify', steam.verify(), function(req, res) {
    res.redirect('/');
});