Why does the refresh token for Office365 OAuth2 expire when the password is changed?
I am testing using OAuth2 for MS Office 365 to read calendar events and just read the following in this blog post
... the refresh token, while long life, becomes invalid at some point. For example, if the user changes their password, the refresh tokens become invalid.
From my experience with other OAuth2 providers, the refresh token shouldn't expire when users change their passwords (isn't that one of the main purposes of the token - to allow password access?).
Am I missing something? What is the reason for the expiration of refresh tokens when the password is changed?
source to share
Password change can occur after password violation. Available and updatable tokens may have been issued in the time between the password violation and discovery, these tokens should be revoked and the password reset. To simplify the administration of this - the exact time of the violation can be very difficult to detect - all access rights have been revoked and must be explicitly reassigned by the Resource Owner.
source to share