alert-pharmacist-711
09/18/2024, 6:33 PMmagnificent-energy-493
Is there a way to distinguish a session that is part of an incomplete recovery flow with a regular (logged-in) session?I dont think so. But what is the behaviour you are looking for? To access the settings page / change the password the user needs a valid session which they get during recovery. You can invalidate existing sessions after the user sets a new password but that is IMO seperate from a recovery flow?
alert-pharmacist-711
09/19/2024, 4:17 AMrefined-kangaroo-48640
09/19/2024, 8:46 AMalert-pharmacist-711
09/19/2024, 4:53 PMrefined-kangaroo-48640
09/19/2024, 8:08 PMrefined-kangaroo-48640
09/19/2024, 8:10 PMrefined-kangaroo-48640
09/19/2024, 8:11 PMrefined-kangaroo-48640
09/19/2024, 8:30 PM{
"id": "67ea898f-d7d6-4a35-a391-8dcca631d613",
"active": true,
"expires_at": "2024-09-22T20:29:23.583417Z",
"authenticated_at": "2024-09-19T20:29:23.583417Z",
"authenticator_assurance_level": "aal1",
"authentication_methods": [
{
"method": "code_recovery",
"aal": "aal1",
"completed_at": "2024-09-19T20:29:23.583415008Z"
}
],
"issued_at": "2024-09-19T20:29:23.583417Z",
alert-pharmacist-711
09/19/2024, 8:57 PMauthentication_methods
field in more detail? I assume that I can look at this list, find the most recent method, and take some action depending on whether it's link_recovery
or password
alert-pharmacist-711
09/19/2024, 11:41 PMauthentication_methods
list will always be in chronological order, i.e. the only operations on this list will be appends?