I want to give social signup and registration for multiple users. Multiple types (roles) of user can sign up. That means I want a different registration page for each of them. Now, if I give them to sign up via Google option, how do I identify at the controller which role to assign to the new user? Basically, how do I identify which registration page was used before to sign up via Google?
I have tried using request()->server('HTTP_REFERER')
but it returns Google's URL instead of my registration page.