Forum Discussion

chehs01's avatar
chehs01
Occasional Contributor
10 years ago

soapui alm authentication

Hi all,

 

I am trying to run ALM (Quality Center 11) rest service. I ran /rest-is-authenticated and entered Basic Authorization as it requires LW-SSO authentication but I get this error

 

              <h2>401 - Unauthorized: Access is denied due to invalid credentials.</h2>
               <h3>You do not have permission to view this directory or page using the credentials that you supplied.</h3>
 

Does anyone have any idea? thanks,

 

John

  • kondasamy's avatar
    kondasamy
    Regular Contributor

    As per the HP - ALM REST documentation, you should be calling the below method with Basic credentials in order to get the LW-SSO token,

     

    GET /qcbin/authentication-point/authenticate

     

    You don't need to pass Basic credentials to the method GET /qcbin/rest/is-authenticated  at all, since its is just a validator to check whether you are authenticated and it is an optional step too. I was successfully able to signin to ALM through this process.

     

    Thanks,

    Samy

     

    Did my reply answer your question? Give Kudos or Accept it as a Solution to help others, Thanks. ↓↓↓

  • Hi chehs01m,

     

    The error messages says that your account doesn’t have enough permissions. Are you sure that your account settings set correctly?