google-auth-library-java icon indicating copy to clipboard operation
google-auth-library-java copied to clipboard

Investigate the use of Serializable in the Auth Library

Open lqiu96 opened this issue 10 months ago • 0 comments

From a discussion here: https://github.com/googleapis/google-auth-library-java/issues/1538#issuecomment-2490440601

Certain third party dependencies are serializing and de-serializing the Auth Credentials. This seems to have been causing some issues reported by users.

Potential action items from this ticket:

  • Figure out the context of why Credentials are implementing the Serializable interface
  • Determine if we want to continue to support Serializable (If so, how to make all Credentials Serializable. If not, can we remove Serializable without a breaking change?)
  • Add documentation or warning to the README about Serializable

lqiu96 avatar Feb 12 '25 20:02 lqiu96