Redirect uri for multiple subdomains

What 3ventic said. My mistake for misunderstanding the question put forward.