ZROK_ACCESS_GRANTS won't work, but ZROK_SHARE_OPTS does

I am trying to create a zrok share for ssh. Downloaded the docker compose.yml for private share, and followed the steps. To allow my remote laptop using different zrok account, I set the following:

ZROK_UNIQUE_NAME: myssh

ZROK_BACKEND_MODE: tcpTunnel

ZROK_TARGET: localhost:22

ZROK_ACCESS_GRANTS: “myemail@gmail.com”

Run docker compose up works fine. In my client workstation, I ran “zrok access private myssh” but it gives me this error:

[ERROR]: unable to create private access ([POST /access][401] accessUnauthorized)

Tried to use ZROK_SHARE_OPTS: "--access-grant myemail@gmail.com" instead, and it works.

What is the proper way to use ZROK_ACCESS_GRANTS?

I tried your advice, commented out ZROK_SHARE_OPTS, uncommented and set ZROK_ACCESS_GRANTS with 1 email without qoutes (““). Purged docker containers and volume, run docker compose up. At the client side, run zrok access private myssh but got the error:

[ERROR]: unable to create private access ([POST /access][401] accessUnauthorized)