All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
profiles.input.intuit.json Maven / Gradle / Ivy
{
"ver": "2",
"name": "sys:intuit",
"description": "Translation profile for Intiut (Quickbooks etc) authentication",
"type": "INPUT",
"rules": [
{
"condition": {
"conditionValue": "true"
},
"action": {
"name": "mapIdentity",
"parameters": [
"identifier",
"attr['sub']",
"sys:all",
"CREATE_OR_MATCH"
]
}
},
{
"condition": {
"conditionValue": "(attr contains 'givenName') && (attr contains 'familyName')"
},
"action": {
"name": "mapAttribute",
"parameters": [
"name",
"/",
"attr['givenName'] + ' ' + attr['familyName']",
"CREATE_OR_UPDATE"
]
}
},
{
"condition": {
"conditionValue": "attr contains 'givenName'"
},
"action": {
"name": "mapAttribute",
"parameters": [
"firstname",
"/",
"attr['givenName']",
"CREATE_OR_UPDATE"
]
}
},
{
"condition": {
"conditionValue": "attr contains 'familyName'"
},
"action": {
"name": "mapAttribute",
"parameters": [
"surname",
"/",
"attr['familyName']",
"CREATE_OR_UPDATE"
]
}
},
{
"condition": {
"conditionValue": "attr contains 'email'"
},
"action": {
"name": "mapAttribute",
"parameters": [
"email",
"/",
"attr['email'] + ((attr contains 'emailVerified') ? (( attr['emailVerified'] == true) ? '[CONFIRMED]' : '[UNCONFIRMED]') : '[UNCONFIRMED]')",
"CREATE_OR_UPDATE"
]
}
}
]
}