I have a use case where I have to create a web API for post request. In order to develop the post request first I need to fetch the service doc. At the time of service doc request I am able to fetch the service doc via Chrome Browser where it prompts for basic auth and Identity provider i.e. saml.
Now I have to fetch the same request via Postman client. In Postman client I provide necessary headers like content-type, Authentication etc. But I am not able to fetch the data.
sceenshot.
Service Doc Basic Auth ScreenShot
service doc IDp screenshot:
DATA via browser:
Postman client says your browser does not support javascript please enable it. after enabling getting same error.
Actually I don't have access to the admin cockpit where this service is hosted.
Please help.
Thanks, Abhijeet
Postman supports REST API but SAML is based on browser redirects.
Postman does support OpenID Connect / OAuth that is REST based.
The reason it asks for Javascript is that the SAML login form relies on Javascript to redirect. Otherwise you just see the Submit button.
The problem is that SAML and OAuth are different protocols with different token types. SAML is XML with lots of assertions (claims) and OAuth is JSON with essentially a canned set of attributes.
Postman requires a JWT token. It won't work with a SAML token.
The references you see on the web about Postman / SAML refer to logging in to the Postman Enterprise edition with SAML to get SSO.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With