locked
Accessing LS App's OData End Point from another LS App: Problems with authentication RRS feed

  • Question

  • Hi,

    We have two separated LS Apps: App1 and App2 both secured with Windows Authentication and deployed to IIS.

    App1 access App2's OData Endpoint using Windows Authentication.

    When debugging App1 and deploying locally the App1 has access to the data of App2.

    But when deployed the App1 cannot access the data of App2.

    Is looks like the App1 cannot pass the credentials to App2.

    Any ideas?

    Wednesday, January 21, 2015 8:08 PM

Answers

  • We don't have access to the code that implements the security when LS accesses an OData data source. Can Microsoft do this test? It takes only 10 minutes. We need support. We have an Active MSDN subscription under jeanpierre.chauny@fametal.com. How do we issue a serious support ticket? We think this is s bug.

    HI Jean,

    For this issue, you can submit it to Visual Studio Connect Site.

    If this issue is urgent, please contact support directly(http://support.microsoft.com). 

    Best regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Angie Xu Monday, February 2, 2015 12:07 PM
    Tuesday, January 27, 2015 9:35 AM
  • We found the solution: http://d-fens.ch/2015/09/03/consuming-odata-services-from-lightswitch-with-impersonation/ These Swiss guys are cool!
    Thursday, November 12, 2015 10:31 AM

All replies

  • Both applications use https protocol.
    Wednesday, January 21, 2015 9:58 PM
  • Both apps are using https protocol. When I deploy the app2 as normal http then the acces is granted. It looks like the credentials of the user are reaching the app2 doubly encrypted ... Is this possible? Is this behavior configurable in IIS?
    Wednesday, January 21, 2015 10:05 PM
  • Both apps are using https protocol. When I deploy the app2 as normal http then the acces is granted. It looks like the credentials of the user are reaching the app2 doubly encrypted ... Is this possible? Is this behavior configurable in IIS?

    HI Jean,

    For this issue, you can use Fiddler to monitor the https requests, I think it will be helpful to troubleshoot this issue.

    Best regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, January 26, 2015 8:20 AM
  • Hi Angie: Thank you for the reply. We don't have access to the code that implements the security when LS accesses an OData data source. Can Microsoft do this test? It takes only 10 minutes. We need support. We have an Active MSDN subscription under jeanpierre.chauny@fametal.com. How do we issue a serious support ticket? We think this is s bug.
    Monday, January 26, 2015 2:15 PM
  • We don't have access to the code that implements the security when LS accesses an OData data source. Can Microsoft do this test? It takes only 10 minutes. We need support. We have an Active MSDN subscription under jeanpierre.chauny@fametal.com. How do we issue a serious support ticket? We think this is s bug.

    HI Jean,

    For this issue, you can submit it to Visual Studio Connect Site.

    If this issue is urgent, please contact support directly(http://support.microsoft.com). 

    Best regards,

    Angie


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Angie Xu Monday, February 2, 2015 12:07 PM
    Tuesday, January 27, 2015 9:35 AM
  • We found the solution: http://d-fens.ch/2015/09/03/consuming-odata-services-from-lightswitch-with-impersonation/ These Swiss guys are cool!
    Thursday, November 12, 2015 10:31 AM