Also, how can this be done so no email is sent to the user on creation?
Edited by Genevieve-1051
Also, how can this be done so no email is sent to the user on creation?
You need to be logged in to reply to this post and participate in the Geotab Community discussions.
@AUser-6139 SAML users can only be set up via MyGeotab. You can find information on how to do so in our SAML Setup Guide.
After adding the certificate(s) to your database, an Add<User> call will have to be performed where you specify the authentication type and certificate issuer. Below is a Javascript sample of the minimum required fields to create a user with SAML authentication:
api.call("Add", {
"typeName": "User",
"entity": {
"name":"samluser@abccustomer.com",
"firstName": "SAML Test",
"lastName": "User",
"userAuthenticationType": "SAML",
"issuerCertificate": {
"id":"<issuer certificate ID>",
},
"companyGroups": [
{
"id":"GroupCompanyId"
}
],
"securityGroups": [
{
"id":"GroupUserSecurityId"
}
],
"changePassword": false
}
});
Note: userAuthenticationType must always be set to "SAML"
To retrieve the list of certificates in a database, you can perform a Get<Certificate> like so:
api.call("Get", {
"typeName":"Certificate"
});
This will return an array of all the certificates (as objects) added to a database.
Please note that the Certificate entity type is not fully supported, use with caution.
@AUser-6139 SAML users can only be set up via MyGeotab. You can find information on how to do so in our SAML Setup Guide.
After adding the certificate(s) to your database, an Add<User> call will have to be performed where you specify the authentication type and certificate issuer. Below is a Javascript sample of the minimum required fields to create a user with SAML authentication:
api.call("Add", {
"typeName": "User",
"entity": {
"name":"samluser@abccustomer.com",
"firstName": "SAML Test",
"lastName": "User",
"userAuthenticationType": "SAML",
"issuerCertificate": {
"id":"<issuer certificate ID>",
},
"companyGroups": [
{
"id":"GroupCompanyId"
}
],
"securityGroups": [
{
"id":"GroupUserSecurityId"
}
],
"changePassword": false
}
});
Note: userAuthenticationType must always be set to "SAML"
To retrieve the list of certificates in a database, you can perform a Get<Certificate> like so:
api.call("Get", {
"typeName":"Certificate"
});
This will return an array of all the certificates (as objects) added to a database.
Please note that the Certificate entity type is not fully supported, use with caution.