JWT authentication - Grafana service could not start

Grafana version 10.0.1.

I am trying to configure JWT authentication according to the Configure JWT authentication | Grafana documentation

however after enable JWT in the configuration by setting
[auth.jwt]
enabled = true

the restarting Grafana service cause follow error:

“Windows could not start the Grafana service on local computer. the service did not return error. This could be an internal Windows error or internal service error.”