Skip to content
This repository was archived by the owner on Aug 22, 2025. It is now read-only.
This repository was archived by the owner on Aug 22, 2025. It is now read-only.

Add /login/history/{aid} endpoint #27

@2byrds

Description

@2byrds

Add /login/history/{aid} endpoint to list all user logins and their status (a list of statuses similar to the report status).
This call requires signed headers because no other user should be able to see the login history for their AID.

The statuses should indicate login scenarios such as:

  • If the user tries to make the call without signed headers, the error message should say they need to provide sign headers.
  • If the last login was a failure, then the signed headers will not validate and the error message should say they need to login with a valid credential.
  • If the LAST login the user has submitted a login request with a valid ECR credential AND the signed headers validate then the list should contain a status with details about the login, including the JSON form of the CESR, see Supply the 'raw' JSON version of the CESR, as part of the login success response vlei-verifier#35 and historical login statuses including success or failure messages.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions