how to get the authentication key. code -1005
how to request an authentication key , I don’t have one
You will have to ask the person who is hosting this onion service. For example, if someone shared some files over onionshare with you, you will have to ask that person for the private key.