You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 31, 2022. It is now read-only.
Take JdbcTokenStore for an example. oauth_access_token and oauth_refresh_token both stored token and authentication as blods.
and these blods are in fact the serialized java class OAuth2AccessToken/OAuth2RefreshToken and OAuth2Authentication.
If we migrate the framework from a lower version to current, most likely we cannot deserialize the existing tokens in the database, see here, this means:
we cannot retrieve the resources by using the exiting access token.
we cannot get new token using the exiting refresh token.
we even cannot generate new access token and refresh token.
This is definitely disaster. We cannot just truncate these tables in database, because this will also break some functionalities e.g. Google Home Action or Amazon Alexa Skill.
I suppose even Base64ed Json mapping is better than serialized plan java class, at least it is easier to migrate.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Take JdbcTokenStore for an example.
oauth_access_token
andoauth_refresh_token
both storedtoken
andauthentication
as blods.and these blods are in fact the serialized java class OAuth2AccessToken/OAuth2RefreshToken and OAuth2Authentication.
If we migrate the framework from a lower version to current, most likely we cannot deserialize the existing tokens in the database, see here, this means:
This is definitely disaster. We cannot just truncate these tables in database, because this will also break some functionalities e.g. Google Home Action or Amazon Alexa Skill.
I suppose even Base64ed Json mapping is better than serialized plan java class, at least it is easier to migrate.
The text was updated successfully, but these errors were encountered: