Issuing Mobile Credentials from an Access Control System
Learn how to create mobile credentials across a user's multiple phones.
Overview
A credential manager, such as HID Origo Mobile Identities, is a cloud-based service responsible for issuing mobile credentials and keeping track of which mobile credentials have been issued to which phones. Enrolling the phone with the credential manager is a prerequisite for issuing mobile credentials. Seam performs this registration automatically and detects when new phones come online for a user identity.
Typically, without Seam, you would have to wait for a phone to complete enrollment before you could start sending credentials. Seam, however, simplifies this process by enabling you to preconfigure the mobile credential details. As soon as a new phone is enrolled successfully, Seam automatically issues the designated mobile credential to it.
Because a user might have multiple phones, when you create a mobile credential, you must use a multi-phone sync credential to guarantee that the user has access across all their phones.
What Are Multi-Phone Sync Credentials?
When issuing mobile credentials for a mobile app user, it is necessary to issue a multi-phone sync credential. As Managing Phones for a User Identity describes, a user identity (that is, a mobile app user) may possess multiple phones. To guarantee access across all of the phones for the user identity, the multi-phone sync credential manages the distribution of credentials to each phone linked to the user identity. The multi-phone sync credential also imports the credentials into the ACS and allocates them to the corresponding ACS user.

Issuing Multi-Phone Sync Credentials
To issue mobile credentials, you must configure a multi-phone sync credential. This type of credential automatically replicates itself when the app user logs in on a new phone. To configure a multi-phone sync credential, include the ID of the ACS user, set is_multi_phone_sync_credential
to true
, and include the card details that should be shared across these credentials.
Seam configures the card details that you include in the request across all the credentials that it creates for each phone. Include only common card details, such as the facility code, and omit any unique card details, such as the card number. For more information about specific card properties, see the user guide for the access control system or credential manager.
Command:
seam.acs.credentials.create(
is_multi_phone_sync_credential=True,
acs_user_id="33333333-3333-3333-3333-333333333333",
access_method="mobile_key",
credential_manager_acs_system_id="88888888-8888-8888-8888-888888888888",
# ACS manufacturer-specific properties
visionline_metadata={
"cardFormat": "rfid48",
"label": "%ROOMNUM% - %SITENAME%",
"override": True
},
...
)
Output:
AcsCredential(
acs_credential_id='99999999-9999-9999-9999-999999999999',
acs_user_id='33333333-3333-3333-3333-333333333333',
access_method='mobile_key',
is_multi_phone_sync_credential=True,
...
)
Last updated
Was this helpful?