Skip to main content

Hello,

 

I followed the steps in https://docs.ifs.com/techdocs/24r1/040_tailoring/300_extensibility/010_get_started/400_quickstarts/010_auth/#step_2_-_obtain_the_token_endpoint
 

But I always get a 

<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
</head>
<body>
<center>
<div><h1>401 - Authorization Required</h1></div>
<div><small>IFS Cloud<small></div>
</center>
</body>
</html>

 

Is the a specific page to test and debug logs ?

We are looking to upload documents using the API, but we are stuck with this 401 error.

Help appreciated.

Hi ​@MCIPSTEV 

I see you are missing the Scope.

Attached below is my Postman auth setup for your reference :)

Cheers!

Damith


just noticed that the token generation will not fail even though the Scope is empty.

Maybe something to do with your IAM Client setup?

 

Here’s a IAM client setup for client credential authentication

 


This is my postman setup

And setup on IFS
 

Hi ​@MCIPSTEV 

Check the postman console and in the response headers, look for WWW-Authenticate header. It might give a hint

 

Best Regards,

Damith


Thanks,

I found something:

But self signed certifcates works normally fine


Hi ​@MCIPSTEV 

Try disabling the SSL certificate verification in postman File → Settings or by adding the certificate

https://learning.postman.com/docs/sending-requests/authorization/certificates/

 

Hope it helps!

Damith

 


Reply