https://developers.google.com/identity/protocols/oauth2#expiration> ユーザーがパスワードを変更し、更新トークンにGmailスコープが含まれています。なんだそれ
@nzws
whenPasswordChanged() { for (const token of this.refreshTokens) { if (token.hasScope(gmail)) token.revoke() }}
って感じでは
@rinsuki なぜGmail限定...?ってなってた(どうせなら全部吹き飛ばしてしまっていいのでは的な
@nzws 普通のメールサーバーでのパスワード変えたらIMAPアクセスも死ぬみたいなのをエミュレートしたかったのではという気がする、全部吹っ飛ばされるとそれはそれで不便な気もするがまあ全部吹っ飛んでもいい気もするな
@rinsuki なるほどー
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!
@rinsuki なるほどー