I am using a service now API for fetching the incident details, but the service now is SSO enabled and my request is failing. Please let me know how to authenticate the APIs

I am using a service now API for fetching the incident details, but the service now is SSO enabled and my Django request is failing. Please let me know how to authenticate the APIs.