locked
Issue with addin hosted under sso enviorenment RRS feed

  • Question

  • Hi

    we have developed an addin for office 365. Now the app/addin content is hosted under sso environment and authentication method is form based.

    Now, when user opens addin first time and before loading app content it has to go through form authentication, but office api thinks here that  it took too much time to load the app so instead of showing sso form, it gives an error message

    Then it gives amessage to strat the addin. now I see the form and user fills the credential  and  then addin loads up fine.

    is it design limitation of office api for the application hosted under sso environment.? if not , then what are the remedies for that.

    Thanks

    Nitrup

    • Moved by Nan_Yu Monday, July 4, 2016 4:10 AM Relate to Office Apps
    Saturday, July 2, 2016 6:27 PM

Answers

  • Hi Nitrup,

    >> is it design limitation of office api for the application hosted under sso environment

    It is a limitation for long loading, long time loading will give an error. To work around this issue, I would suggest you load Office api first. In other words, Open add-ins, load Office app, and then authenticate within Office add-in page.

    You could refer the link below:

    # Use the OAuth authorization framework in an Office Add-in

    http://dev.office.com/docs/add-ins/develop/use-the-oauth-authorization-framework-in-an-office-add-in

    Best Regards,

    Edward


    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.


    Tuesday, July 5, 2016 1:54 AM