Custom ID Format
Tuesday, June 15, 2021 at 11:25amHello,
Can't seem to find the documentation that I swear I saw at one point that said the ID fields must meet certain criteria? Am I crazy?
I have a Regex in my code ([^a-zA-Z0-9_\-.]+) to only keep alpha numeric, _, -, and . -- can't remember if there was a good reason for doing so.
For instance, in a "document" object, I run the document name thru regex to get the ID:
{
"id": "TestDocument",
"name": "Test Document"
}
Reply to: Custom ID Format
Tuesday, June 15, 2021 at 11:44amHi ck123,
I doubt it's documented somewhere officially, but OneSpan Sign server does validate both role ID, signer ID and document ID with the regex expression "[a-zA-Z0-9_\-.]+" as you mentioned - no space and other special characters.
Duo