Config value reader issue when upgrading from 5.0.0 to 5.0.5


#1

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 = configuration.underlying.as[CookieAuthenticatorSettings]("silhouette.authenticator")
Same for oauth1TokenSecretProvider and csrfStateItemHandler


#2

Please see https://github.com/mohiva/play-silhouette/pull/541#issuecomment-401732174