Moves redirect uri to config.