Unable to login users using API AutoLoginRequest

Article Last Updated

This article applies to:

If your users are accessing a page via the link you provided them via the AutoLoginRequest API call and are unable to login the issue is likely that you are requesting a URL for a page that they do not have permission to view (like an admin page that is only visible to Administrators and Publishers).

For example, your SOAP request might look like this for a user:

<AutoLoginRequest xmlns="http://www.articulate-online.com/services/api/1.0/">
<Credentials>
<EmailAddress>test@example.com</EmailAddress>
<Password>test</Password>
<CustomerID>11111</CustomerID>
</Credentials>
<Url>http://MYDOMAIN.articulate-online.com/Content/default.aspx?Cust=11111</Url>
</AutoLoginRequest>

That request is for the Administrator and Publisher view of the content list, which users do not have access to view.

To correct this problem, you want to direct your users to a page that they have access to view, like the user portal.  So your request would look like this:

<AutoLoginRequest xmlns="http://www.articulate-online.com/services/api/1.0/">
<Credentials>
<EmailAddress>test@example.com</EmailAddress>
<Password>test</Password>
<CustomerID>11111</CustomerID>
</Credentials>
<Url>http://MYDOMAIN.articulate-online.com/UserPortal/Content.aspx?Cust=11111</Url>
</AutoLoginRequest>

This will correct the problem and allow your users to login via URLs provided by the Articulate Online API AutoLoginRequest.