Force logout all user after update scopes in social authentication

I want to log out all users after an update on the scopes in a social authentication, otherwise I cannot have an updated refresh token with the new scopes for the related API until the user’s cookies are expired and performs a new log in,
Is there any way to do that? How?