Fix an issue for my laravel project
Budget: $10 – $11 USD
I use multiple URLs for my clients' login link, each client have their own unique login URL.
Issue : Once Client A logged in with his url, he able to access other client's url. But when he visit his own url, he should stay on dashboard instead of doing redirection.
Example:
domain.com/demo sign-in phone A and activate Instagram
domain.com/ken sign in phone B and activate Facebook
domain.com/demo visit domain.com/demo stay dashboard
domain.com/demo visit domain.com/ken redirect to Facebook
domain.com/ken visit domain.com/ken stay dashboard
domain.com/ken visit domain.com/demo redirect to Instagram
Issue : Once Client A logged in with his url, he able to access other client's url. But when he visit his own url, he should stay on dashboard instead of doing redirection.
Example:
domain.com/demo sign-in phone A and activate Instagram
domain.com/ken sign in phone B and activate Facebook
domain.com/demo visit domain.com/demo stay dashboard
domain.com/demo visit domain.com/ken redirect to Facebook
domain.com/ken visit domain.com/ken stay dashboard
domain.com/ken visit domain.com/demo redirect to Instagram