If you have the data from another source, sanitize and save as needed. I don't know all details of the incoming data. But it sounds similar to api data, where you retrieve it and then do what's needed with it.
What is the best way to add new entry to database from SESSION data?
Hello everyone! What is the best and safest way to add new entry to database from SESSION data without using form or button, but on page load?
My app receives client data from other system where user have to authenticate and I want to check if user hasn't logged in before, if not I would like to create a new user in my database without submitting a form. Is there better solution to this problem than doing it with Javascript? I need to add these users to database because I need to save some other information about client, like email address, telephone and so on.
I am using Laravel Jetstream. Thanks in advance for recommendations.
Please or to participate in this conversation.