Support the ongoing development of Laravel.io →
Authentication Security Session

Hello,

I'm working on an app that interacts with a soap webservice, which i'd also like to use for authentication ... but I also like the whole Auth:: setup which is nice and easy to use, so here's the questions:

  • Is there a place in the 'Auth' chain where I can adapt so user/pwd are checked against the webservice instead of the builtin db? ... or maybe a plugin that allows for this?
  • Is it a good idea to create the SoapClient on authentication and keep that in the Session? (pwd is in there, which is needed for all subsequent requests!)

Cheers, Jan.

Last updated 3 years ago.
0

Well, seems this is quite easy to do: http://laravel.com/docs/extending#authentication

Now i just need to find out how i can keep the password in the Session in an encrypted manner, as for now i can just see it in plain test in app/storage/session files ;-)

Greets, Jan.

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.