Jump to content

Bcrypt for two applications with server laravel and blesta


Recommended Posts

Posted

Hi this is Liana, I have two applications on same server one is Laravel and one is Blesta. Laravel is fronted and all users details are handled by Blesta. I want to use Laravel and bcrypt function for passwords, but after that I need to import user into Blesta (they are also using bcrypt) how I can sync that two bcrypt functions that they can use same password ?

https://goo.gl/EXav7S

Thanks.

 

Posted

The two applications don't share identical hashing algorithms or secret keys so they wouldn't generate the same hashed passwords, nor should they. This is more of a use case solvable using a single sign-on approach instead, i.e., create the user in Blesta with a random password and when they log in to Laravel have them initialize a session with their account in Blesta using the Shared Login plugin.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...