Domain changed to archive.palanq.win . Feb 14-25 still awaits import.
[2 / 1 / 1]

laravel 11 programming question

No.1475793 View ViewReplyOriginalReport
Hi /wsr/ I was asked to make an application on laravel 11 (on a php 8.2 server), I barely learned how to do some basic stuff there, and I have been working with code igniter 3 (on a php 7.4 server), and I have this issue;

>They will log in using some API from another site on another server
>I somehow need to get the info from that API (they will log in into the other page which I have no control off, but can ask them how to send me that session info).
>this will make the page I create catch the value and uses it as a session
>but there must also be some "admin login" from my own page to administer some info which the other "users" will introduce
What'd be the best approach for that, I barely started learning laravel, but I don't know if I can just use some session variable and then check the info for whenever I need it.
This would be use so they log into another page, then go to some link from that page and that sends them to my page "already logged" (probably by some session thing), then they will introduce some data in some local tables, and there will be some admin who will validate that info and get some reports.
For now I don't even know if I should create some local users for the ones who will type the info, and others for the admin part. but I don't have the info of those "new users" who will come from the other page, so they will probably ask me for an API where they send the info and some key (to know it's from them).

What would be the best way to approach this?