def validate_redirect_uri(self, client_id, redirect_uri, request,
                              *args, **kwargs):
        request.client = request.client or self._clientgetter(client_id)
        client = request.client
        if hasattr(client, 'validate_redirect_uri'):
            return client.validate_redirect_uri(redirect_uri)
        return redirect_uri in client.redirect_uris
Ensure client is authorized to redirect to the redirect_uri.
dataset/ETHPy150Open codalab/codalab-cli/codalab/server/oauth2_provider.py/OAuth2RequestValidator.validate_redirect_uri