In Laravel Socialite Package, I would like to get the flexible URL or flexible callback URL.
I have few different functions, such as:
admin login
admin register request
user login
user register
If an admin register request
is called, I would like to get the data passed to the respective function of respective controller.
I am using app('controllername')->function();
to call the handler to get the data. However, I cant get the user data.
It seems like the callback URL issue. How do I achieve this?