How create AuthToken?

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
Rafael
Posts: 11
Joined: Tue Sep 06, 2016 2:49 pm

How create AuthToken?

Postby Rafael » Thu Sep 08, 2016 9:15 pm

Hi

How generate the authToken of the Zimbra Soap?

Best Regards
Rafael


User avatar
msquadrat
Advanced member
Advanced member
Posts: 183
Joined: Mon Oct 14, 2013 10:09 am

Re: How create AuthToken?

Postby msquadrat » Thu Sep 08, 2016 9:19 pm

Rafael
Posts: 11
Joined: Tue Sep 06, 2016 2:49 pm

Re: How create AuthToken?

Postby Rafael » Fri Sep 09, 2016 1:02 pm

Hi Msquadrat,

But for example: I'm using the SOAP UI to make test, and there occurs an error of:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>no valid authtoken present</faultstring>
<detail>
<Error xmlns="urn:zimbra">
<Code>service.AUTH_REQUIRED</Code>
<Trace>qtp509886383-4885709:https://10.100.11.25:443/service/soap/:1473368777394:17d8c9df202a3cac:SoapEngine266</Trace>
</Error>
</detail>
</soap:Fault>
</soap:Body>
</soap:Envelope>


I already generate the preauthkey and put in the place of th authtoken, I don't know if I'm doing it right but, for authtoken key is the same of preauthkey? or is a different key?

You say that I must use the method AuthRequest, do you have a example of how use that?

Thanks

Best Regards
Rafael

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 3 guests