So this is the scenario. I have very simple Laravel app with basic authentication set up. I also have node application running on port 3000. I am using nginx for a web server. I have proxy setup so I can access node app via https://test.dev/nodeapp
My question is: Is it possible to have laravel running on https://test.dev and restrict access to my node app with Laravel authentication (middleware).
All I want is to let users use node app after successful authentication through Laravel.
I have no idea how to handle that (no idea if something like that is even possible). As far as my understanding goes node application is not a part of framework and I can't specify the route withing needed middleware.
Is there anything that could be done on the server side?
Could anyone shade some light on the subject? Thank in advance.
via CyberFountain
No comments:
Post a Comment