DestinyItemManager / dim-api

Destiny Item Manager API Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Figure out how to drive complete refresh of tokens without logout

bhollis opened this issue · comments

A while ago I made a change for #141 that added more info to tokens on login, so we could stop relying on bungie.net account for saved info. Since then, about half the tokens have been replaced, due to people naturally logging out and back in or refreshing tokens. However for some reason the rest haven't updated even after a month (token lifetime is one month).

Is it possible that sometimes GetMembershipsForCurrentUser doesn't return the list of profile IDs? Seems unlikely. But then why would those be missing?

Thought: Add metrics on number of memberships returned during auth, and age of auth token