-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: OIDC DB Auth
-
None
-
3
-
Iteration Zebrafish, Iteration Ankylosaurus
-
Not Needed
In preparation for Compass’s ability to persist OIDC tokens, we should add:
- A way to get an opaque serialized (string or Uint8Array) representation of a MongoDBOIDCPlugin’s instance (auth state only, not options or similar)
The ability to take a “serialized state” string/blob, filter it, possibly by principal name, server metadata and/or expiration date, and then re-serialize that into a string/blob- A way to pass such serialized state to a new MongoDBOIDCPlugin instance and then deserialize it
- An event that is emitted when the state that would be serialized changes