Persist tokens between restarts #3

Merged
ansv7779 merged 1 commits from persistent-tokens into main 2025-03-28 12:06:22 +01:00

1 Commits

Author SHA1 Message Date
9a6e21a396
Persist tokens between restarts
All checks were successful
/ build (push) Successful in 1m30s
Utilize Java serialization to turn the entire OAuth2Authorization to a binary blob and store that in the database. Could not find a better way to do it given the types involved (like Map<String, Object> properties). Sure, Java serialization can fail on arbitrary objects but hopefully since OAuth2Authorization implements java.io.Serializable any properties put in are serializable as well.
2025-03-28 11:58:35 +01:00