We’ve developed some resources to help you work effectively from home during COVID-19 Click to learn more

Activate external customer authentication

Hi,

In the system settings, I see an interesting option "Activate external customer authentication". My assumption is that this can be used to use an external Authentication system for the customer centre, in stead of the built-in one.

1. Am I right?

2. Is there any documentation on this?

3. Could this be realised, combined with AD?

Thankx!

Niels

RE: Activate external customer authentication

Documentation? Hah! :D

Av: Simen Mostuen Iversen 18. apr 2017

RE: Activate external customer authentication

Hi,

This is pretty old stuff, but all you need to do is create a SOAP endpoint with the following WSDL which will receive a username and password and then return true or false. I believe it should be soap version 1.1, and I think Visual Studio has the possibility of implementing a SOAP service based on a WSDL.

Sverre

<?xml version="1.0" encoding="utf-8"?>

<wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://tempuri.org/" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">

  <wsdl:types />

  <wsdl:message name="loginSoapIn">

    <wsdl:part name="username" type="s:string" />

    <wsdl:part name="password" type="s:string" />

  </wsdl:message>

  <wsdl:message name="loginSoapOut">

    <wsdl:part name="loginResult" type="s:boolean" />

  </wsdl:message>

  <wsdl:portType name="eJAuthSoap">

    <wsdl:operation name="login">

      <wsdl:input message="tns:loginSoapIn" />

      <wsdl:output message="tns:loginSoapOut" />

    </wsdl:operation>

  </wsdl:portType>

  <wsdl:binding name="eJAuthSoap" type="tns:eJAuthSoap">

    <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />

    <wsdl:operation name="login">

      <soap:operation soapAction="http://ejournal.ejournal.no/ExtAuth/DocumentBareLiteral" style="rpc" />

      <wsdl:input>

        <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />

      </wsdl:input>

      <wsdl:output>

        <soap:body use="encoded" namespace="http://tempuri.org/" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" />

      </wsdl:output>

    </wsdl:operation>

  </wsdl:binding>

  <wsdl:service name="eJAuth">

    <documentation xmlns="http://schemas.xmlsoap.org/wsdl/" />

    <wsdl:port name="eJAuthSoap" binding="tns:eJAuthSoap">

      <soap:address location="http://localhost/AuthService/Service1.asmx" />

    </wsdl:port>

  </wsdl:service>

</wsdl:definitions>

Av: Sverre Hjelm 19. apr 2017

RE: Activate external customer authentication

Does this mean that the crm7.user_candidate table isn't used at all? Or is this an authentication which is done in addition to the normal customer centre login?

If the third party authentication service only returns true, how does Service know WHO the user is?

Av: Frode Lillerud 19. apr 2017

RE: Activate external customer authentication

* Is this functionality available in Online?
* Is there anybody that have actual experience of doing an implementation?
* Is there any complementary documentation available in any way? :)

Av: Marcus Svenningsson 21. jan 2019

RE: Activate external customer authentication

The CS SOAP endpoints are officially not supported in Online, but are functional since they are used by Maillink to create tickets etc. The external customer authentication feature is not available at all in Online. (see OnSite label on the help index page)

 

Av: David Hollegien 21. jan 2019