Different redirect based on first time user or returning user sign in

Is it possible to change the redirect URL based on if it's the user first time signing in or if they are a returning user?
Solution
Wouldn't a first time user be signing up instead of signing in?
Was this page helpful?