Organzizational Account: How to access secured Features Service from external WebApp

Discussion created by j.moosmeieresri-de-esridist Employee on Mar 8, 2012
Latest reply on Mar 8, 2012 by mminami-esristaff
i have published a Feature Class as a Feature Service to our Organizational Account. I have edited a WebMap with this Feature Service and published a Web Application (Editor Template ).
Everything working fine and as expected.
Now I want to make some customization to this Template (different title,....). I downloaded the Template and hosted it on my own WebServer, IIS 7. I enabled https with a self-signed certificate for the Server and when I started the WebTemplate (https://localhost/Chrome/index.html) I got an login mask with the request to login to ArcGIS Online, but this form always told me 'wrong username/password', please see screenshot.

It's definitely the correct user.
I'm quite sure I'm missing some configuration on my Web Server. But which one?