Push Authentication enables users to use XignIn as a 2nd factor
Xign.Me supports two different types of Push Authentication:
Xign.Me. This token is required as authentication against the push endpoint.Xign.Me supports the POLL and PING type.Authentication for a sepcific user can be requested via registered e-mail address or via subject identifier
POST /api/push/authenticate
Authentication: Bearer fsdf.fdsfds.fsdf (JWT)
{
type: EMAIL | SUB,
identifier: test@xignsys.com | jfkdhsjfksdhjk=
clientId: <Client Id to Auth>
}
Xign.Meadmin.Xign.Me server to identify the userThe server will return all session information needed to retrieve the authentication result
{
loginSessionId: abcdefghijklmno
token: pqrstuvwxyz
}
The authentication result can be retrieved by sending the following request to the status endpoint:
POST /api/push/authenticate/status
Authentication: Bearer fsdf.fdsfds.fsdf (JWT)
{
"loginSessionId": <loginSessionId>,
"token": <token>
}
The endpoint conveys information about the authentication session via HTTP response codes: