changing the redirect uri type to a custom field that just outputs the proper redirect uri.