I have to create a issue in jira with POST method using REST API in java but the problem is I am having SSO (Single sign-on) authentication in my system.When I am trying to create ,I am getting 401 (Unauthorized) error.I already have administrator role in project on jira . But I am able to create the issue using POSTMAN(getting 201 response code).I can't understand how POSTMAN is able to do that. Please provide how to do authorization if I have system with SSO authentication.I can't create jira API token as it is restricted to me.
Creating a new "JIRA issue" using REST API in java
I am taking help from this link but here its doing basic authentication.