-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(bo): [SFEQS-1984] Add tokenizer #194
base: main
Are you sure you want to change the base?
Conversation
|
✅ Linked to Story SFEQS-1984 · Implementare il tokenizer CF sul BO |
List of Changes
/packages/io-sign
:apiKeySchema
withtesters
as an array of uuid andcreateApiKeyPayloadSchema
withtesters
as an array offiscalCodeSchema
/apps/io-sign-backoffice-app/
:.env
file, added variablesPDV_TOKENIZER_API_BASE_PATH
andPDV_TOKENIZER_API_KEY
/src/lib
, addedpdv-tokenizer.ts
file withgetTokenFromPii
,getPiiFromToken
andgetTokenizerHealth
functions/src/lib/api-keys/use-cases.ts
, addedupsertApiKeyField
and updatedcreateApiKey
functions that get tokens from fiscal codes before inserting on database. updatedlistApiKeys
andgetApiKeyWithSecret
functions that get fiscal codes from tokens before returning api key to the clientMotivation and Context
Now the
signerId
will be saved on the database instead of the citizen's fiscal codeHow Has This Been Tested?
Screenshots (if appropriate):
Checklist: