{"info":{"_postman_id":"0b1677c8-2fcb-4e5c-b004-37908cbc60bc","name":"miniOrange IDP APIs","description":"<html><head></head><body><p>This API Guide gives step by step instructions on how you can integrate miniOrange Identity Provider and User Store APIs with your system.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"15938972","collectionId":"0b1677c8-2fcb-4e5c-b004-37908cbc60bc","publishedId":"2sAXqnf4Y1","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-09-13T07:42:53.000Z"},"item":[{"name":"SAML","item":[{"name":"Get SAML IdP List","id":"4776e1db-b39b-48ff-b132-5626cba0eb97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Customer-Key","value":"{{customer-key}}","type":"text"},{"key":"Timestamp","value":"{{nowtime}}","type":"text"},{"key":"Authorization","value":"{{nowhash}}","type":"text"}],"url":"{{base_url}}/api/idps/v1/saml?startIndex=0&count=10","description":"<p>To get all configured SAML IDPs, you need to make a HTTP GET request to our get all SAML IdPs API.</p>\n","urlObject":{"path":["api","idps","v1","saml"],"host":["{{base_url}}"],"query":[{"key":"startIndex","value":"0"},{"key":"count","value":"10"}],"variable":[]}},"response":[],"_postman_id":"4776e1db-b39b-48ff-b132-5626cba0eb97"},{"name":"Fetch Specific SAML IdP Details","id":"a098d17b-e774-4219-84ed-63ca3dab5fbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Customer-Key","value":"{{customer-key}}"},{"key":"Timestamp","value":"{{nowtime}}"},{"key":"Authorization","value":"{{nowhash}}"}],"url":"{{base_url}}/api/idps/v1/saml/{{uuid}}","description":"<p>To fetch details of a configured SAML IDP, you need to make a HTTP GET request to our fetch SAML IdP Configuration endpoint.</p>\n","urlObject":{"path":["api","idps","v1","saml","{{uuid}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a098d17b-e774-4219-84ed-63ca3dab5fbe"},{"name":"Create SAML IdP","id":"dd076bfc-048c-4fd3-b603-55951a62ef82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Customer-Key","value":"{{customer-key}}"},{"key":"Timestamp","value":"{{nowtime}}"},{"key":"Authorization","value":"{{nowhash}}"}],"body":{"mode":"raw","raw":"{\r\n    \"identifier\": \"SAML_IDP_API\",\r\n    \"displayName\": \"IDP being SAML\",\r\n    \"entityId\": \"SAML entity ID\",\r\n    \"loginUrl\": \"https://example.com/login\",\r\n    \"logoutUrl\": \"https://saml.idp/logout\",\r\n    \"x509Certificate\": \"MIIDgTCCAmmgAwIBAgIJAPjrL2mUUAXaMA0GCSqGSIb3DQEBCwUAMFcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU0FOIEpPU0UxEzARBgNVBAoMCk1JTklPUkFOR0UxEzARBgNVBAMMCk1JTklPUkFOR0UwHhcNMTgwOTA4MDQ1MTA3WhcNMjgwOTA1MDQ1MTA3WjBXMQswCQYDVQQGEwJVUzELMAkGA1UECAwCQ0ExETAPBgNVBAcMCFNBTiBKT1NFMRMwEQYDVQQKDApNSU5JT1JBTkdFMRMwEQYDVQQDDApNSU5JT1JBTkdFMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnSyB0bEkfJEIWd4ppO6923mCpJJhfVfgZCSZc9YScWo0LIWbv2EVM1IWqidoQLQla/RGadNnTeo5Xj3WLwIYX/y5YxtJ7hkf2/nAsKI9dcsrI/8jPlqw/4IuyXwIKcQ11qUmz8D/vcUKsITfCwWnBVMpGA6d1P38GOZd0XWZ2IMxw3Vz8a5WH9y5V19Zl//3+IlxSJZWaITg3d4K+g25UEvwHYJA/f8gN/KTxHQz9zjI2eDJQTSgD1xoVztoKcsf1aCTrlTTF3zbAuROJbwv4J+1SV0Z9PWuQFcnig5CNgEkeeJuD9T3yUf54VquVvfhIlPx1pwt9im5mTZXj/86YQIDAQABo1AwTjAdBgNVHQ4EFgQU19d8uXcSjLcak4tIcTa6TMUmIiQwHwYDVR0jBBgwFoAU19d8uXcSjLcak4tIcTa6TMUmIiQwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAUeTamT0AtZVAozA9aPqLfBbfNcT4yAjVmRu7LENMwIn/CdJjtJMuvPB15WqFGADktY1eU1hujV88VP/78RwVDCNiIiLHPlPPqnoaJOg2JzHWStRGb1cMPewHlzYDDENUwslemxFG2Sv2ABMGUSY9Z39f77g888fkeRtesDecurbNzvd++dckMhsHOrlK9uNI3poYmD0YHuDEoK34R3aroACLieny7WW2Hrf73olXt55srHJc/NBuRZkl2aPuwuKBgh78PmiI9Eke6FdsP6rIKFx1KB7BneOjFt4w3OQL1i6Y6U16wTIzJMyejdkQEBBPbcjHoYSIKXpb6+lejUohGA==\",\r\n    \"endUserLogin\": true,\r\n    \"overrideReturnUrl\": true,\r\n    \"defaultReturnUrl\": \"https://example.com/returnUrl\",\r\n    \"signSamlRequest\": true,\r\n    \"signatureAlgo\": \"SHA-256\",\r\n    \"samlRequestBinding\": \"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\",\r\n    \"domainMapping\": \"SAML-API\",\r\n    \"showIdpToUsers\": true,\r\n    \"promptForUserRegistration\": true,\r\n    \"nameIdFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified\",\r\n    \"sendConfiguredAttributes\": true,\r\n    \"attributeMapping\": [\r\n        {\r\n            \"incomingAttribute\": \"email\",\r\n            \"outgoingAttribute\": \"EMAIL\"\r\n        },\r\n        {\r\n            \"incomingAttribute\": \"username\",\r\n            \"outgoingAttribute\": \"USERNAME\"\r\n        }\r\n    ],\r\n    \"responseSigned\": false,\r\n    \"assertionSigned\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/idps/v1/saml","description":"<p>To add a SAML IDP, you need to make a HTTP POST request to our add SAML IdP Configuration endpoint.</p>\n","urlObject":{"path":["api","idps","v1","saml"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dd076bfc-048c-4fd3-b603-55951a62ef82"},{"name":"Update SAML IdP","id":"0ccab598-e41d-4e4c-8fe4-2c550bb715f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Customer-Key","value":"{{customer-key}}"},{"key":"Timestamp","value":"{{nowtime}}"},{"key":"Authorization","value":"{{nowhash}}"}],"body":{"mode":"raw","raw":"{\r\n    \"identifier\": \"SAML_IDP_API\",\r\n    \"displayName\": \"IDP being SAML\",\r\n    \"entityId\": \"SAML entity ID\",\r\n    \"loginUrl\": \"https://example.com/login\",\r\n    \"logoutUrl\": \"https://saml.idp/logout\",\r\n    \"x509Certificate\": \"MIIDgTCCAmmgAwIBAgIJAPjrL2mUUAXaMA0GCSqGSIb3DQEBCwUAMFcxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU0FOIEpPU0UxEzARBgNVBAoMCk1JTklPUkFOR0UxEzARBgNVBAMMCk1JTklPUkFOR0UwHhcNMTgwOTA4MDQ1MTA3WhcNMjgwOTA1MDQ1MTA3WjBXMQswCQYDVQQGEwJVUzELMAkGA1UECAwCQ0ExETAPBgNVBAcMCFNBTiBKT1NFMRMwEQYDVQQKDApNSU5JT1JBTkdFMRMwEQYDVQQDDApNSU5JT1JBTkdFMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnSyB0bEkfJEIWd4ppO6923mCpJJhfVfgZCSZc9YScWo0LIWbv2EVM1IWqidoQLQla/RGadNnTeo5Xj3WLwIYX/y5YxtJ7hkf2/nAsKI9dcsrI/8jPlqw/4IuyXwIKcQ11qUmz8D/vcUKsITfCwWnBVMpGA6d1P38GOZd0XWZ2IMxw3Vz8a5WH9y5V19Zl//3+IlxSJZWaITg3d4K+g25UEvwHYJA/f8gN/KTxHQz9zjI2eDJQTSgD1xoVztoKcsf1aCTrlTTF3zbAuROJbwv4J+1SV0Z9PWuQFcnig5CNgEkeeJuD9T3yUf54VquVvfhIlPx1pwt9im5mTZXj/86YQIDAQABo1AwTjAdBgNVHQ4EFgQU19d8uXcSjLcak4tIcTa6TMUmIiQwHwYDVR0jBBgwFoAU19d8uXcSjLcak4tIcTa6TMUmIiQwDAYDVR0TBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAUeTamT0AtZVAozA9aPqLfBbfNcT4yAjVmRu7LENMwIn/CdJjtJMuvPB15WqFGADktY1eU1hujV88VP/78RwVDCNiIiLHPlPPqnoaJOg2JzHWStRGb1cMPewHlzYDDENUwslemxFG2Sv2ABMGUSY9Z39f77g888fkeRtesDecurbNzvd++dckMhsHOrlK9uNI3poYmD0YHuDEoK34R3aroACLieny7WW2Hrf73olXt55srHJc/NBuRZkl2aPuwuKBgh78PmiI9Eke6FdsP6rIKFx1KB7BneOjFt4w3OQL1i6Y6U16wTIzJMyejdkQEBBPbcjHoYSIKXpb6+lejUohGA==\",\r\n    \"endUserLogin\": true,\r\n    \"overrideReturnUrl\": true,\r\n    \"defaultReturnUrl\": \"https://example.com/returnUrl\",\r\n    \"signSamlRequest\": true,\r\n    \"signatureAlgo\": \"SHA-256\",\r\n    \"samlRequestBinding\": \"urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect\",\r\n    \"domainMapping\": \"SAML-API\",\r\n    \"showIdpToUsers\": true,\r\n    \"promptForUserRegistration\": true,\r\n    \"nameIdFormat\": \"urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified\",\r\n    \"sendConfiguredAttributes\": true,\r\n    \"attributeMapping\": [\r\n        {\r\n            \"incomingAttribute\": \"email\",\r\n            \"outgoingAttribute\": \"EMAIL\"\r\n        },\r\n        {\r\n            \"incomingAttribute\": \"username\",\r\n            \"outgoingAttribute\": \"USERNAME\"\r\n        }\r\n    ],\r\n    \"responseSigned\": false,\r\n    \"assertionSigned\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{base_url}}/api/idps/v1/saml/{{uuid}}","description":"<p>To update a SAML IDP, you need to make a HTTP PUT request to our update SAML IdP Configuration endpoint.</p>\n","urlObject":{"path":["api","idps","v1","saml","{{uuid}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"0ccab598-e41d-4e4c-8fe4-2c550bb715f3"},{"name":"Delete SAML IdP","id":"16503338-2d27-427f-b4cf-87b0bb61ce99","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Customer-Key","value":"{{customer-key}}","type":"text"},{"key":"Timestamp","value":"{{nowtime}}","type":"text"},{"key":"Authorization","value":"{{nowhash}}","type":"text"}],"url":"{{base_url}}/api/idps/v1/saml/{{uuid}}","description":"<p>To detele a OAuth provider, you need to make a HTTP DELETE request to our delete OAuth Provider endpoint.</p>\n","urlObject":{"path":["api","idps","v1","saml","{{uuid}}"],"host":["{{base_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"16503338-2d27-427f-b4cf-87b0bb61ce99"}],"id":"3be1824e-2e73-4b21-a7e9-43c9c65d8388","description":"<p>All the API documentation to create, update, delete and fetch SAML Identity Provider.</p>\n","_postman_id":"3be1824e-2e73-4b21-a7e9-43c9c65d8388"},{"name":"OAuth","item":[{"name":"Fetch OAuth Providers List","id":"208aaac8-fd60-4cf2-b1ba-ef9dc88fce66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"},{"key":"Customer-Key","value":"{{customerid}}","type":"text"},{"key":"Timestamp","value":"{{timestamp}}","type":"text"}],"url":"{{host}}/api/idps/v1/oauth?startIndex={startIndex}&count={count}","description":"<p>To get all configured OAuth providers, you need to make a HTTP GET request to our get all OAuth Providers API.</p>\n","urlObject":{"path":["api","idps","v1","oauth"],"host":["{{host}}"],"query":[{"key":"startIndex","value":"{startIndex}"},{"key":"count","value":"{count}"}],"variable":[]}},"response":[],"_postman_id":"208aaac8-fd60-4cf2-b1ba-ef9dc88fce66"},{"name":"Fetch Specific OAuth Provider Details","id":"05d0c95a-34da-40c3-b798-5fa53d166c18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"},{"key":"Customer-Key","value":"{{customerid}}","type":"text"},{"key":"Timestamp","value":"{{timestamp}}","type":"text"}],"url":"{{host}}/api/idps/v1/oauth/{{uuid}}","description":"<p>To fetch details of a configured OAuth provider, you need to make a HTTP GET request to our fetch OAuth Provider Configuration endpoint.</p>\n","urlObject":{"path":["api","idps","v1","oauth","{{uuid}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"05d0c95a-34da-40c3-b798-5fa53d166c18"},{"name":"Add OAuth Provider","id":"f76e1741-3142-492e-8914-c8bbc8b7fe91","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"},{"key":"Customer-Key","value":"{{customerid}}","type":"text"},{"key":"Timestamp","value":"{{timestamp}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"custom_oauth\",\n    \"displayName\": \"OAuth IDP\",\n    \"authorizeEndpoint\": \"https://oauth.com/authorize\",\n    \"tokenEndpoint\": \"https://oauth.com/token\",\n    \"userInfoEndpoint\": \"https://oauth.com/userinfo\",\n    \"introspectionEndpoint\": \"https://oauth.com/introspection\",\n    \"clientId\": \"OAuth Client ID\",\n    \"clientSecret\": \"OAuth Client Secret\",\n    \"grantType\": \"AUTHORIZATION\",\n    \"clientCredentialsHeaderEnabled\": true,\n    \"scope\": [\n        \"PROFILE\", \"EMAIL\"\n    ],\n    \"sendScopeInTokenRequest\": true,\n    \"showIdpToUsers\": true,\n    \"promptForUserRegistration\": false,\n    \"sendConfiguredAttributes\": true,\n    \"endUserLogin\": false,\n    \"domainMapping\": \"domain.com\",\n    \"attributeMapping\": [\n        {\n            \"incomingAttribute\": \"mail\",\n            \"outgoingAttribute\": \"EMAIL\"\n        },\n        {\n            \"incomingAttribute\": \"username\",\n            \"outgoingAttribute\": \"USERNAME\"\n        },\n        {\n            \"incomingAttribute\": \"age\",\n            \"outgoingAttribute\": \"AGE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/idps/v1/oauth","description":"<p>To add a OAuth provider, you need to make a HTTP PUT request to our add OAuth Provider Configuration endpoint.</p>\n","urlObject":{"path":["api","idps","v1","oauth"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f76e1741-3142-492e-8914-c8bbc8b7fe91"},{"name":"Update OAuth Provider","id":"21ac78b3-4ff3-4e72-86cd-36a3f01be996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"},{"key":"Customer-Key","value":"{{customerid}}","type":"text"},{"key":"Timestamp","value":"{{timestamp}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"identifier\": \"custom_oauth\",\n    \"displayName\": \"OAuth IDP\",\n    \"authorizeEndpoint\": \"https://oauth.com/authorize\",\n    \"tokenEndpoint\": \"https://oauth.com/token\",\n    \"userInfoEndpoint\": \"https://oauth.com/userinfo\",\n    \"introspectionEndpoint\": \"https://oauth.com/introspection\",\n    \"clientId\": \"OAuth Client ID\",\n    \"clientSecret\": \"OAuth Client Secret\",\n    \"grantType\": \"AUTHORIZATION\",\n    \"clientCredentialsHeaderEnabled\": true,\n    \"scope\": [\n        \"PROFILE\", \"EMAIL\"\n    ],\n    \"sendScopeInTokenRequest\": true,\n    \"showIdpToUsers\": true,\n    \"promptForUserRegistration\": false,\n    \"sendConfiguredAttributes\": true,\n    \"endUserLogin\": false,\n    \"domainMapping\": \"domain.com\",\n    \"attributeMapping\": [\n        {\n            \"incomingAttribute\": \"mail\",\n            \"outgoingAttribute\": \"EMAIL\"\n        },\n        {\n            \"incomingAttribute\": \"username\",\n            \"outgoingAttribute\": \"USERNAME\"\n        },\n        {\n            \"incomingAttribute\": \"age\",\n            \"outgoingAttribute\": \"AGE\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/api/idps/v1/oauth/{{uuid}}","description":"<p>To update a OAuth provider, you need to make a HTTP PATCH request to our update OAuth Provider Configuration endpoint.</p>\n","urlObject":{"path":["api","idps","v1","oauth","{{uuid}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"21ac78b3-4ff3-4e72-86cd-36a3f01be996"},{"name":"Delete Specific OAuth Provider","id":"14ef87ef-6e54-4dc0-9913-1f8ddbd6908c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{authorization}}","type":"text"},{"key":"Customer-Key","value":"{{customerid}}","type":"text"},{"key":"Timestamp","value":"{{timestamp}}","type":"text"}],"url":"{{host}}/api/idps/v1/oauth/{{uuid}}","description":"<p>To detele a OAuth provider, you need to make a HTTP DELETE request to our delete OAuth Provider endpoint.</p>\n","urlObject":{"path":["api","idps","v1","oauth","{{uuid}}"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14ef87ef-6e54-4dc0-9913-1f8ddbd6908c"}],"id":"307cabda-5138-4852-b3e9-74841e51a815","_postman_id":"307cabda-5138-4852-b3e9-74841e51a815","description":""}],"variable":[{"key":"customerId","value":"51951"}]}