Setup Basic Authentication for your Web Service

Follow

Comments

5 comments

  • Avatar
    Remco Boerma

    Thanks, is the user capable of storing the username and password?

  • Avatar
    Matthijs Koopman

    Yes, if you disable the option "Use my credentials in the app" the app will prompt the user to enter their username and password. Those will be stored locally and will be used to access your REST Service. The moment your service starts returning HTTP Error 401 - Unauthorized we will discard the credentials and prompt the user to enter their credentials again.

    Please note, this feature is not yet available, but will be available in the next update, probably this week.

  • Avatar
    Khoi Nguyen

    this method does not work with username for parse (which is email) and password. I get "an error occurred while executing the web service"

  • Avatar
    Werner Bisschoff

    Khoi, I've gotten past that issue... You have to Decode the E-mail on the Server side, because the URL query is being Encoded when sending.

  • Avatar
    Ben Goosse

    Dear Matthijs,

    I've tried your solution. But it doesn't seem to work. The credentials do not get discarded and I 'm not prompted to enter my credentials again.

    Was this implemented?

Please sign in to leave a comment.