Allow configuration of redirect uri in client