More in this section
Forums / Developing with Sitefinity / Sitefinity 10: Authenticating when consuming WCF services from external application

Sitefinity 10: Authenticating when consuming WCF services from external application

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Brett
    Brett avatar
    10 posts
    Registered:
    07 Apr 2015
    28 May 2017
    Link to this post

    Hi,

    Since upgrading to Sitefinity 10 (previously 8.2) my (trusted) external applications that consume some Sitefinity WCF web services are no longer able to authenticate. 

     

    Previously, I had followed the following forum posts for instruction on how to authenticate and consume services from say a console application.

    http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/what-is-the-proper-way-to-authenticate-requests-to-consume-the-wcf-services

    http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/error-401-when-calling-the-sitefinity-wcf-web-services

     

    From what I can see the authentication endpoint no longer exists (/sitefinity/authenticate/SWT). So how do I authenticate for these services now?

     

    I have try implementing examples by following (http://docs.sitefinity.com/request-access-token-for-calling-web-services), and although I can gather a valid access token, using it in my requests to the service endpoints still returns a 401 (Unauthorised) response.

     

    Can anyone point me in the right direction please?

     

    Kindest regards,

    Brett.

     

     

  2. Brett
    Brett avatar
    10 posts
    Registered:
    07 Apr 2015
    29 May 2017
    Link to this post

    I have managed to resolved my issue by reverting back to using simple web tokens in the Sitefinity advanced settings and restarting the instance. My consuming applications now authenticate as expected. (Reference: http://docs.sitefinity.com/administration-switch-to-claims-based-swt-authentication)

     

    However, it would be nice to understand how I could make use of OpenID authentication when consuming WCF backend web services? Any pointers?

    Thanks.

     

2 posts, 0 answered