CAC Login (1.0.0)
Download OpenAPI specification:Download
Called by the identity provider to authenticate a user who has a CAC/PIV card. SmartBridge sends the identity provider data from the users public certificate after verifying the certificate is trusted. SmartBridge provides an error if the certificate is not trusted.
Authenticates the CAC/PIV User.
Authenticates the user with CAC/PIV card and returns basic information about the authentication event. Asynchronously posts data to the identity provider's Login Information endpoint about the authentication event and user (see api definition for details).
Request Body schema: application/json
callbackUrl required | string The location at the identity provider that will receive the asynchronous post of Login Information. |
clientId | string The Client ID specifically being used for Authorization header on the callback |
Responses
Request samples
- Payload
{- "clientId": "client-id-1234"
}
Response samples
- 200
{- "success": true,
- "jwt": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJuZXRyaXN0c21hcnRicmlkZ2UuY29tIiwiYXVkIjoiYXBpLm5ldHJpc3RzbWFydGJyaWRnZS5jb20iLCJzdWIiOiJTdGV2ZUBleGFtcGxlLmNvbSIsImV4cCI6MTYyNjEwMTE0NywiaWF0IjoxNjI2MTAwODQ3LCJqdGkiOiI5YmIyOGUyMS1kYTFlLTQzNDQtODk4Mi0xZjYwM2YwY2RlOWMifQ.n2MlcmyONV3l74W3hjJzSoCS67x70YhVHAzwvL_Hsuk"
}
Authenticates the CAC/PIV User.
Authenticates the user with CAC/PIV card and returns basic information about the authentication event. Asynchronously posts data to the identity provider's Login Information endpoint about the authentication event and user (see api definition for details).
Request Body schema: application/json
callbackUrl required | string The location at the identity provider that will receive the asynchronous post of Login Information. |
clientId | string The Client ID specifically being used for Authorization header on the callback |
Responses
Request samples
- Payload
{- "clientId": "client-id-1234"
}
Response samples
- 200
{- "success": true,
- "jwt": "eyJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJuZXRyaXN0c21hcnRicmlkZ2UuY29tIiwiYXVkIjoiYXBpLm5ldHJpc3RzbWFydGJyaWRnZS5jb20iLCJzdWIiOiJTdGV2ZUBleGFtcGxlLmNvbSIsImV4cCI6MTYyNjEwMTE0NywiaWF0IjoxNjI2MTAwODQ3LCJqdGkiOiI5YmIyOGUyMS1kYTFlLTQzNDQtODk4Mi0xZjYwM2YwY2RlOWMifQ.n2MlcmyONV3l74W3hjJzSoCS67x70YhVHAzwvL_Hsuk"
}