{"info":{"_postman_id":"0405a990-5eb3-9be8-ce26-b9d8979eb0d1","name":"Client Registration (Okta API)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json"},"item":[{"name":"Apps API","item":[{"name":"Create App","id":"93096e7f-5dfc-2a5f-68f7-172a5810b9f9","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"oidc_client\",\n    \"label\": \"Sample Client\",\n    \"signOnMode\": \"OPENID_CONNECT\",\n    \"credentials\": {\n      \"oauthClient\": {\n        \"token_endpoint_auth_method\": \"client_secret_post\"\n      }\n    },\n    \"settings\": {\n      \"oauthClient\": {\n        \"client_uri\": \"http://localhost:8080\",\n        \"logo_uri\": \"http://developer.okta.com/assets/images/logo-new.png\",\n        \"redirect_uris\": [\n          \"https://example.com/oauth2/callback\",\n          \"myapp://callback\"\n        ],\n        \"response_types\": [\n          \"token\",\n          \"id_token\",\n          \"code\"\n        ],\n        \"grant_types\": [\n          \"implicit\",\n          \"authorization_code\"\n        ],\n        \"application_type\": \"native\"\n      }\n    }\n}"},"url":"{{url}}/api/v1/apps"},"response":[],"_postman_id":"93096e7f-5dfc-2a5f-68f7-172a5810b9f9"},{"name":"List Apps","id":"4f1b6a08-8bfc-2fcc-13ae-e9a319df4a77","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/api/v1/apps"},"response":[],"_postman_id":"4f1b6a08-8bfc-2fcc-13ae-e9a319df4a77"},{"name":"Update App","id":"22887459-e138-6047-970a-b99899d06ee8","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"{{appId}}\",\n  \"name\": \"oidc_client\",\n  \"label\": \"Sample Client\",\n  \"signOnMode\": \"OPENID_CONNECT\",\n  \"credentials\": {\n    \"signing\": {\n      \"kid\": \"cg4-_A_ifCK7fsKIKjHP27P0JGeuhnHHKEID1yXy42M\"\n    },\n    \"oauthClient\": {\n      \"client_id\": \"0oa1hm4POxgJM6CPu0g4\",\n      \"client_secret\": \"5jVbn2W72FOAWeQCg7-s_PA0aLqHWjHvUCt2xk-z\",\n      \"token_endpoint_auth_method\": \"client_secret_post\"\n    }\n  },\n  \"settings\": {\n    \"oauthClient\": {\n      \"client_uri\": \"http://localhost:8080\",\n      \"logo_uri\": \"http://developer.okta.com/assets/images/logo-new.png\",\n      \"redirect_uris\": [\n        \"https://example.com/oauth2/callback\",\n        \"myapp://callback\"\n      ],\n      \"response_types\": [\n        \"token\",\n        \"id_token\",\n        \"code\"\n      ],\n      \"grant_types\": [\n        \"implicit\",\n        \"authorization_code\"\n      ],\n      \"application_type\": \"native\"\n    }\n  },\n  \"profile\": {\n    \"whitelist\": [\n      \"{{groupId}}\"\n    ]\n  }\n}"},"url":"{{url}}/api/v1/apps/{{appId}}"},"response":[],"_postman_id":"22887459-e138-6047-970a-b99899d06ee8"}],"id":"531a5cff-66b7-a890-1b70-d4c45b3de560","_postman_id":"531a5cff-66b7-a890-1b70-d4c45b3de560"},{"name":"Get Logo","id":"a59c53ba-be89-3d00-f668-d21f88e00314","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/.well-known/logo"},"response":[],"_postman_id":"a59c53ba-be89-3d00-f668-d21f88e00314"},{"name":"List Clients","id":"3bd775bd-6276-c3cc-fb4b-da4cc75f75c6","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/oauth2/v1/clients"},"response":[],"_postman_id":"3bd775bd-6276-c3cc-fb4b-da4cc75f75c6"},{"name":"Create Client","id":"d0fbb21a-436c-4905-c665-e4eb83add423","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":"  {\n    \"client_name\": \"Web client\",\n    \"redirect_uris\": [\n      \"https://httpbin.org/get\"\n    ],\n    \"response_types\": [\n      \"code\",\n      \"token\",\n      \"id_token\"\n    ],\n    \"grant_types\": [\n      \"refresh_token\",\n      \"authorization_code\",\n      \"implicit\"\n    ],\n    \"token_endpoint_auth_method\": \"client_secret_basic\",\n    \"application_type\": \"web\"\n  }"},"url":"{{url}}/oauth2/v1/clients"},"response":[],"_postman_id":"d0fbb21a-436c-4905-c665-e4eb83add423"},{"name":"Get Client","id":"788c3cca-5023-2a47-fe49-d6289b30e691","request":{"method":"GET","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/oauth2/v1/clients/{{clientId}}"},"response":[],"_postman_id":"788c3cca-5023-2a47-fe49-d6289b30e691"},{"name":"Update Client","id":"eb53e6c0-1498-e47e-f94c-f16e010160d4","request":{"method":"PUT","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":"{\n\t\"client_id\": \"{{clientId}}\",\n\t\"client_name\": \"Web client\",\n\t\"redirect_uris\": [\n\t\t\"https://httpbin.org/get\"\n\t],\n\t\"response_types\": [\n\t\t\"code\",\n\t\t\"token\",\n\t\t\"id_token\"\n\t],\n\t\"grant_types\": [\n\t\t\"refresh_token\",\n\t\t\"authorization_code\",\n\t\t\"implicit\"\n\t],\n\t\"token_endpoint_auth_method\": \"client_secret_basic\",\n\t\"application_type\": \"web\"\n}"},"url":"{{url}}/oauth2/v1/clients/{{clientId}}"},"response":[],"_postman_id":"eb53e6c0-1498-e47e-f94c-f16e010160d4"},{"name":"Delete Client","id":"f67e9e38-48f8-85cf-5699-5969799fb7d7","request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/oauth2/v1/clients/{{clientId}}"},"response":[],"_postman_id":"f67e9e38-48f8-85cf-5699-5969799fb7d7"},{"name":"Generate New Client Secret","id":"b6a60acf-fbf9-020e-757d-5acd727d2887","request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"},{"key":"Authorization","value":"SSWS {{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"{{url}}/oauth2/v1/clients/{{clientId}}/lifecycle/newSecret"},"response":[],"_postman_id":"b6a60acf-fbf9-020e-757d-5acd727d2887"}]}