Skip to content

LG-13300: Include key_id in valid certificate token#455

Merged
aduth merged 1 commit intomainfrom
aduth-lg-13300-key-id-valid-cert
May 10, 2024
Merged

LG-13300: Include key_id in valid certificate token#455
aduth merged 1 commit intomainfrom
aduth-lg-13300-key-id-valid-cert

Conversation

@aduth
Copy link
Copy Markdown
Contributor

@aduth aduth commented May 9, 2024

🎫 Ticket

LG-13300

🛠 Summary of changes

Updates the returned token for a valid certificate to include key_id, for consistency with invalid certificates' response value, and to enable the IdP logging behavior expected in LG-12946 as of 18F/identity-idp#10512 .

📜 Testing Plan

  1. Have this project and identity-idp running concurrently
  2. Ensure identity_pki_disabled is not set to true in your local IdP config/application.yml so that real PKI service is used
  3. Have make watch_events running in a third terminal process within identity-idp
  4. Go to http://localhost:3000
  5. Sign in or create an account
  6. Add a PIV when available
  7. Check logs from the tab running make watch_events and find the "Multi-Factor Authentication Setup" event
  8. Observe that key_id is a non-null value

@aduth aduth requested a review from a team May 9, 2024 21:01
@aduth aduth merged commit 7d1cc06 into main May 10, 2024
@aduth aduth deleted the aduth-lg-13300-key-id-valid-cert branch May 10, 2024 12:08
@amirbey amirbey mentioned this pull request May 16, 2024
@mitchellhenke mitchellhenke restored the aduth-lg-13300-key-id-valid-cert branch June 13, 2024 17:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants