Jump to content

Bcrypt for two applications with server laravel and blesta


Liana

Recommended Posts

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.

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...