mercredi 2 octobre 2019

Get Laravel session id cookie from the web login

I have developed the login API in Lumen using JWT and the web application is built on laravel. Now the issue is after login API the mobile developers wants to open the forms in webview and if they call webview form it redirect to login page.

How i can send them laravel_session cookie in login API response as there is no Session in REST API.

Both applications lumen and laravel are hosted on different URLS.

I tried to curl login web page from API but the result is not showing session cookie. Furthrmore on web app laravel_session is regenrating as well.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire