Closed rfk closed 5 years ago
After this has shipped we can also physically remove /sessionToken/:id/device
from the db server too, right?
After this has shipped we can also physically remove
/sessionToken/:id/device
from the db server too, right?
Yep, doing that over in https://github.com/mozilla/fxa-auth-db-mysql/pull/483 as an opportunistic cleanup (although I could be convinced to make it a separate PR if that's preferred)
Yep, doing that over in mozilla/fxa-auth-db-mysql#483 as an opportunistic cleanup (although I could be convinced to make it a separate PR if that's preferred)
It might be easier to extract that change so that it's not dependent on the DB migration.
k, sure thing: https://github.com/mozilla/fxa-auth-db-mysql/pull/484
The database now always returns device information when getting a sessionToken, so we don't need to use a special route for it. I think this code was just left over from our cleanup of the old "sessionWithDevice" route.