add support for https redirect_uri