You are viewing limited content. For full access, please sign in.

Question

Question

Swagger vs 3rd Party 401

asked on October 23

When accessing my locally  installed swagger environment from the browser, I'm able to get connected, authorized, and generate a token without any issues.  When I try to connect to the API using Postman or YAAK, I get a 401 'Unauthorized' error.  As far as I can tell, I've set all my headers and encoding correctly.  What am I missing?

0 0

Replies

replied on October 23

Hi Micah,

It would be helpful if you could share a screenshot of Postman or YAAK setup. Please make sure to redact any sensitive credentials or URLs as this is a public forum. I know people here have connected to the API with Postman before so that would allow comparison.

0 0
replied on October 23



1 0
replied on October 23 Show version history

I verified that Postman works:

 

 

1 0
replied 19 hours ago

This might sound like a stupid question, but if I have anonymous authentication turned off in IIS and have basic auth turned on, in order for a token to be issued through the API, do I need to have a network user account (mydomain/username) or is there some way that I can have a Laserfiche only account grab a token?

I'm not even sure if my question makes sense.

0 0
replied 18 hours ago

Yes, you can do this, I am using Laserfiche accounts that I created in LFDS that I'm using with the self hosted API

1 0
You are not allowed to follow up in this post.

Sign in to reply to this post.