Results 1 to 2 of 2

Thread: Preauth and REST in one request?

  1. #1
    Join Date
    Nov 2007
    Posts
    1
    Rep Power
    8

    Default Preauth and REST in one request?

    I have read with great interest both the documentation on Zimbra's REST and preauth services. I'm wondering: can both services be used in a single request?

    The preauth URL allows a redirectURL parameter for directing users to somewhere other than /zimbra/mail. From preauth.txt:

    "If a URL other then /zimbra/mail is desired, then you can also pass in a redirectURL:

    ...&redirectURL=/zimbra/h/"

    Given an HTTP client that properly handles the cookie, redirect, etc. would one of the REST URLs be an acceptable value for the redirect parameter? For example, suppose I requested the following URL:

    /service/preauth?...&redirectURL=/zimbra/home/schemers/inbox.atom

    Would this allow me to get the contents of a user's inbox without needing to have their password (given a correct preauth value, of course)?

  2. #2
    Join Date
    Dec 2009
    Posts
    14
    Rep Power
    6

    Default

    Hi brharb,

    Did you ever find the answer to this? I'm trying to do the same thing. If I find anything, I'll post it on here.

    Cheers,
    Rangi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •