What's new

Web Laravel 5.2 Steam Auth

  • Thread starter KillTGS
  • Start date
  • Views 299
K

KillTGS

Newbie
Messages
15
Reaction score
1
Hello S7S!

I Hope you're well!

Can I please get some help on how to use Steam Auth after a successful login? What variable should I pass to blade?([Click here to view this link]

Thanks
 
Z

Z61

Some times our saints are sinners
Retired
Messages
5,476
Reaction score
3,426
It looks like you'd want to call your SteamAuth instance then getUserInfo() to get the user's info. Something like
PHP:
return view('bleh')->with('steamUser', $this->steam->getUserInfo());

Not sure though. Haven't touched this lib.


After taking some time with the library, I realize how dumb what I said was, just do Auth::user()->steam_id or w/e you stored and need.
 
Last edited:
K

KillTGS

Newbie
Messages
15
Reaction score
1
Thanks for the input, already solved, thanks.

I had to add insert the information received after login from steam openid into the database then simply use with Auth.
 
Top Bottom