Ask Your Question

Revision history [back]

Why do you need token_id field for PKI token? There is no API to retrive it

Wherever you have used token_id , you can use PKI token. So in your case, you can pass PKI token as you have done before with UUID token

BTW this is how it was generated

if is_ans1_token(token_id):
        hasher = hashlib.md5()
        if isinstance(token_id, six.text_type):
            token_id = token_id.encode('utf-8')
        return hasher.hexdigest()