locked
HTML Client - can I use authentication when debugging locally inside Visual Studio RRS feed

  • Question

  • This should be so simple, but I cannot find it, is it possible to enable authentication when debugging an HTML client locally inside VS so that the Login page is shown and you have to log in when you run the app? 

    We are adding additional code into the Login page and need to debug this... at the moment the only way we can find to do this is to actually deploy the app.

    There must be a way?


    Regards, Xander. My Blog

    Thursday, March 19, 2015 10:29 PM

Answers

  • Xander

    this is the way to go 

    http://blog.pragmaswitch.com/?p=1376


    paul van bladel ==independent enterprise application architect== http://blog.pragmaswitch.com

    • Marked as answer by Angie Xu Tuesday, March 31, 2015 1:30 AM
    Friday, March 20, 2015 7:04 AM

All replies

  • In this post Security with HTML Client Huy said the following:

    "Unfortunately at debug time the runtime will always use a Test Account with Administrator permission and there's no good way to change this behavior."

    So there is no "good" (i.e. easy) way to do this, but perhaps there is a work around?


    Regards, Xander. My Blog

    • Edited by novascape Thursday, March 19, 2015 11:15 PM
    Thursday, March 19, 2015 10:34 PM
  • Xander

    this is the way to go 

    http://blog.pragmaswitch.com/?p=1376


    paul van bladel ==independent enterprise application architect== http://blog.pragmaswitch.com

    • Marked as answer by Angie Xu Tuesday, March 31, 2015 1:30 AM
    Friday, March 20, 2015 7:04 AM