Page MenuHomePhabricator

[identity] Update login date for existing devices
ClosedPublic

Authored by bartek on Dec 19 2023, 4:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 27, 1:51 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Unknown Object (File)
Tue, Jun 25, 11:29 AM
Unknown Object (File)
Tue, Jun 25, 9:01 AM
Unknown Object (File)
Wed, Jun 12, 1:54 PM
Unknown Object (File)
Wed, Jun 12, 1:26 PM
Subscribers

Details

Summary

A supplement for D10398 - when existing device calls login RPC again, the access token is minted again. We don't need to update the whole device list, but just update the login date so the primary device can be determined correctly.

Depends on D10398

Test Plan

Called login_password_user a few times and used awslocal dynamodb to verify that login date is updated correctly with each call.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable