'Build redirect_uri with redirect_state parameter.'

def get_redirect_uri(self, state=None):

    uri = self.redirect_uri
    if (self.REDIRECT_STATE and state):
        uri = url_add_parameters(uri, {'redirect_state': state})
    return uri
