invisnik / laravel-steam-auth

Laravel Steam Auth
MIT License
172 stars 67 forks source link

Allow a steam return url to be passed through #56

Closed atoff closed 6 years ago

atoff commented 7 years ago

Sometimes (I have found in my application, anyway) it is useful to push the user from one url, and have them return to another one that is not the same as that specified in the config.

Simply allows a URL to be passed through when constructing the SteamAuth class.

nerdalertdk commented 6 years ago

Please yes

Gummibeer commented 6 years ago

@atoff thanks for adjusting, in laravel it's common to return $this in setter methods. With this it would be possible to do $steam->setRedirectUrl(...)->redirect().