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

Rest API on 7.1 cannot authenticate

Hi all,

I'm trying to access my IM through web  API:

if I get  appserver/authmodules

it returns

 
Id Caption Password Based Is Default
RoleBasedManualADS Active Directory user account (manual input/role based) false false
RoleBasedADSAccount Active Directory user account (role based) false false
DialogUser System user false true
RoleBasedPerson Employee (role based) false false
ADSAccount Active Directory user account false false
DynamicPerson Employee (dynamic) false false

I'm trying to use the DialogUser method

in the follow way:

calling auth/apphost

with in the body the following json as decribed in the documentation:

{"authString":"Module=DialogUser;User=*SystemUsername*;Password=*SystemUserPassword*"}

 

but I get a 401 - Unauthorized: Access is denied due to invalid credentials

 but the user is an admin user and has all the privileges.

Should I enabled the user to something?

 

Thanks Mik

Parents
  • Hi Mik

    Usually "invalid credentials" does mean that there is an error in the username / password combination. I assume you've already checked that.
    Could you post more of your authentication / connection code to check wether there are other issues around handling the authentication?

    HTH
    Carsten
Reply
  • Hi Mik

    Usually "invalid credentials" does mean that there is an error in the username / password combination. I assume you've already checked that.
    Could you post more of your authentication / connection code to check wether there are other issues around handling the authentication?

    HTH
    Carsten
Children
No Data