Config value reader issue when upgrading from 5.0.0 to 5.0.5


Upgraded from 5.0.0 to 5.0.5 and now getting compilation errors in SilhouetteModule:
Cannot generate a config value reader for type Option[Option[play.api.mvc.Cookie.SameSite]], because value readers cannot be auto-generated for types with type parameters. Consider defining your own ValueReader[Option[Option[play.api.mvc.Cookie.SameSite]]] [error] val config =[CookieAuthenticatorSettings]("silhouette.authenticator")
Same for oauth1TokenSecretProvider and csrfStateItemHandler


Please see