I need to post the SAML request through postman with username and password for login Kindly share how i can do through postman and get single sign on login for other apps.

Muhammad Qadir 6 Reputation points
2022-03-24T07:32:50.59+00:00

Kindly provide the screen shot of post man

https://login.microsoftonline.com/-----/saml2

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,564 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Siva-kumar-selvaraj 15,551 Reputation points
    2022-03-28T07:32:16.677+00:00

    Hello @Muhammad Qadir ,

    Thanks for reaching out.

    It's not supported way through Postman because SAML is relied on browser redirection, but Postman provides REST API and only supports REST-based OpenID Connect / OAuth.

    Additionally, the reason for the request for Javascript is because the SAML login form relies on Javascript to redirect. Moreover, the issue is that SAML and OAuth are distinct protocols with distinct token types. SAML is XML with a number of assertions (claims), whereas OAuth is JSON with a predefined set of characteristics.

    Postman requires a JWT token. It will not function with a SAML token.

    Here is similar thread for your reference: https://stackoverflow.com/questions/51611446/how-to-execute-saml-enabled-url-in-postman-client-without-using-saml2-disabled

    -----
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.