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

    Hi,

    With M-Files 10.0 Service Release 3 support for Single Sign-On (SSO) for current Windows user in M-Files Web Services is now available.

    I'd like to know how to implement this feature in an ajax request?

    Thanks


    Hi,

    someone knows how to use SSO with M-Files Web services? How can I get a token using SSO?

    Thanks in advance.

    Regards
Reply
  • Former Member
    Former Member

    Hi,

    With M-Files 10.0 Service Release 3 support for Single Sign-On (SSO) for current Windows user in M-Files Web Services is now available.

    I'd like to know how to implement this feature in an ajax request?

    Thanks


    Hi,

    someone knows how to use SSO with M-Files Web services? How can I get a token using SSO?

    Thanks in advance.

    Regards
Children
No Data