This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Acquiring the authentication token with Windows SSO

Hi everyone,

With the help of the following example, I can acquire the authentication token with Windows user or M-files user:

http://www.m-files.com/mfws/gettingstarted.html

var getToken = function (username, password, vault) {

    // Request an encrypted token with the login information.
    $.ajax({
        url: "example.org/.../authenticationtokens.aspx",
        type: "POST",
        dataType: "json",
        contentType: "application/json",
        data: JSON.stringify({ Username: username, Password: password, VaultGuid: vault }),
        success: processToken
    });
};

var processToken = function (token) {
    // Set the header.
    $.ajaxSetup({ headers: { "X-Authentication" : token.Value } });
};


Now, M-files 10 allows authentication with Windows SSO. I'd like to know how to use Windows SSO authentication to acquire the authentication token and how to use it automatically?

Thanks a lot.


Parents
  • Former Member
    Former Member
    * Bump *

    This would be extremely useful in a web application.
    I've seen that you have to contact M-Files support in order to get instructions on how to do this.
    Anyone who possesses the knowledge on how to do it? :)

    Best regards
    Fred
Reply
  • Former Member
    Former Member
    * Bump *

    This would be extremely useful in a web application.
    I've seen that you have to contact M-Files support in order to get instructions on how to do this.
    Anyone who possesses the knowledge on how to do it? :)

    Best regards
    Fred
Children
No Data