liamcurry / passport-steam

Steam (OpenID) authentication strategy for Passport and Node.js.
MIT License
349 stars 104 forks source link

Dynamic return url #102

Open Glutch opened 4 years ago

Glutch commented 4 years ago

I have a login button on multiple pages, and i want the user to be returned to the page they logged in from. Not always '/'.

How can i solve this?

DoseOfCode commented 3 years ago

Set the redirect url you want the user to go to in a session, then once they come back from Steam logged in you can redirect them to it.

marcuuscardoso commented 2 years ago

@Glutch Did you manage to do this?

Glutch commented 2 years ago

@Glutch Did you manage to do this?

Yes i believe so, but it was such a long time ago and the project is abandoned so i can't find it. Keep searching and you will figure it out