-
Notifications
You must be signed in to change notification settings - Fork 0
/
Insomnia_keycloak-spring-boot-demo.json
1 lines (1 loc) · 11.7 KB
/
Insomnia_keycloak-spring-boot-demo.json
1
{"_type":"export","__export_format":4,"__export_date":"2020-09-28T17:09:44.510Z","__export_source":"insomnia.desktop.app:v2020.4.1","resources":[{"_id":"req_ea3f06276b494fdc9b86ae838b7dfa52","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600849215247,"created":1600765767765,"url":"http://localhost:8000/user/token","name":"Generate Token","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"username\":\"malek\",\n\t\"password\":\"12345678\"\n}"},"parameters":[],"headers":[{"name":"","value":"","description":"","id":"pair_a7486cc3c8f34d149418c8becf697abf"},{"name":"Content-Type","value":"application/json","id":"pair_0c7923f2bbb74a3eaab802bdc57cbe21"}],"authentication":{},"metaSortKey":-1000000000,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"wrk_e63c28902a024a08a1441a0ccec3f964","parentId":null,"modified":1600849035622,"created":1600849035622,"name":"keycloak-spring-boot-demo","description":"","scope":null,"_type":"workspace"},{"_id":"req_d7f2125bea8f461faca1635b03390f38","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600858467261,"created":1600767895206,"url":"http://localhost:8000/user/register","name":"Register User","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"username\":\"malek\",\n\t\"password\":\"12345678\",\n\t\"email\":\"[email protected]\",\n\t\"firstName\":\"Malek\",\n\t\"lastName\":\"Tarboush\",\n\t\"roles\":[\"app-manager\",\"app-admin\"]\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_0b44333a024d418595e0ce07e057e7bb"}],"authentication":{},"metaSortKey":-1000000000,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_aa337823f20344a2ab591876e17f42ab","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600849443109,"created":1600597440548,"url":"http://localhost:8080/auth/realms/test-app-realm/protocol/openid-connect/token","name":"Generate Token For Master user","description":"","method":"POST","body":{"mimeType":"application/x-www-form-urlencoded","params":[{"description":"","id":"pair_26db3bf1cf9c42a3ab4c905dc86ba1bc","name":"grant_type","value":"password"},{"description":"","id":"pair_142713757cb1444ba18e39462d456362","name":"client_id","value":"test-app-client"},{"description":"","id":"pair_629d360f4b324affbf89817c728eee64","name":"client_secret","value":"7cf1dc99-fc73-4875-83d5-9dec95a9201f"},{"description":"","id":"pair_c10cca1293f14a4fa8a1a3391aff3539","name":"username","value":"malek"},{"description":"","id":"pair_02ca5ae0c39842ba87726941985fd433","name":"password","value":"12345678"}]},"parameters":[],"headers":[{"description":"","id":"pair_45a005ac0e4e446e826906c58e4e088f","name":"Content-Type","value":"application/x-www-form-urlencoded"}],"authentication":{},"metaSortKey":-1000000000,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_8eda6d69e86543c4bdffc7f7a5621bdb","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600858520407,"created":1600601143198,"url":"http://localhost:8000/test/user","name":"Test User Access","description":"","method":"GET","body":{},"parameters":[],"headers":[{"description":"","id":"pair_1f4a0011836e470eb5dde037e2df0f2d","name":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI5RkdPc25NVWdEX3EwWm12aHQ0T29ScWNfUGNrZFZ6djdIUFJrbE5HcmhzIn0.eyJleHAiOjE2MDA4MDkyNjcsImlhdCI6MTYwMDc3MzI2NywianRpIjoiNzM3ZjEzYzItZjc4OS00YTk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ODk47VsG__OnV5VCnVyuR9c8HKFhpiQ1ONIjc-8e3oKbOf9fNToyiaGrUNq-NvPKq_uevquPRzFxAERqsq-k3Z07NEelTa_5GfiDBW1bt2SAAhhdn2KH63dmj1ejlCseoE0LZaPS7vhKzmqnrooqqUs86Xel54nPhqQnqCUVpf4ABto92NXJVlZa9T7clP6htZDFzz3Dlk6E2ww"}],"authentication":{},"metaSortKey":-1000000000,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_463d80ad9ea64dad8ad79931159f5f15","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1601312943042,"created":1600765979603,"url":"http://localhost:8000/user/refreshToken","name":"Token By Refresh Token","description":"","method":"POST","body":{"mimeType":"application/json","text":"{\n\t\"refreshToken\":\"eyJhbGciOiJIUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJjOWU2OWQ1ZS1lYWRkLTQ5ZDItYWQ4Zi03ODY0MWJmNWRmN2QifQ.eyJleHAiOjE2MDA3Njc2NTAsImlhdCI6MTYwMDc2NTg1MCwianRpIjoiNzA2YTZhMWYtYTU3NC00ODcxLWJiOWUtN2FjMThmOGRhZjhjIiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2F1dGgvcmVhbG1zL2RvY3Rvci1hcHAtcmVhbG0iLCJhdWQiOiJodHRwOi8vbG9jYWxob3N0OjgwODAvYXV0aC9yZWFsbXMvZG9jdG9yLWFwcC1yZWFsbSIsInN1YiI6IjA2ODJjZWUyLTA4ZTYtNDI3Yy05NTE1LTY4NTg3M2VkYjA1MiIsInR5cCI6IlJlZnJlc2giLCJhenAiOiJkb2N0b3ItYXBwLWNsaWVudCIsInNlc3Npb25fc3RhdGUiOiJkMTY1MmYwZi0xODBhLTQ2ZjgtYWVkZC00ODFlMTMxZjA1OTIiLCJzY29wZSI6ImVtYWlsIHByb2ZpbGUifQ.R6MxcW0xkrKniiPABBCvDZEeykNDMcWoK73iXy3ceFwq\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_e7b5252e23c048ff91bb09d9f3116df1"}],"authentication":{},"metaSortKey":-1000000000,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_3448dce089f04c5e8ef369f21b9d2e77","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600849302861,"created":1600849127223,"url":"http://localhost:8000/test/admin","name":"Test Admin Access","description":"","method":"GET","body":{},"parameters":[],"headers":[{"description":"","id":"pair_1f4a0011836e470eb5dde037e2df0f2d","name":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI5RkdPc25NVWdEX3EwWm12aHQ0T29ScWNfUGNrZFZ6djdIUFJrbE5HcmhzIn0.eyJleHAiOjE2MDA4MDkyNjcsImlhdCI6MTYwMDc3MzI2NywianRpIjoiNzM3ZjEzYzItZjc4OS00YTkzLTg1NWMtNmE2NzNiYjRmNmNjIiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2F1dGgvcmVhbG1zL2RvY3Rvci1hcHAtcmVhbG0iLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiNjA1NmVhNzQtNzg4Ny00YTY5LWI3MzAtMjI5OGZkNzE1ZDEyIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZG9jdG9yLWFwcC1jbGllbnQiLCJzZXNzaW9uX3N0YXRlIjoiYTViMTA5YTAtNDBlNi00YjVmLWI3NzItYzJlNzA5ODNlZmM2IiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwOi8vbG9jYWxob3N0OjgwODAiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImFwcC1tYW5hZ2VyIiwib2ZmbGluZV9hY2Nlc3MiLCJhcHAtYWRtaW4iLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImRvY3Rvci1hcHAtY2xpZW50Ijp7InJvbGVzIjpbIm1hbmFnZXIiLCJhZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJlbWFpbCBwcm9maWxlIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJuYW1lIjoiTWFoZXIgQWJsYWgiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJtYWhlciIsImdpdmVuX25hbWUiOiJNYWhlciIsImZhbWlseV9uYW1lIjoiQWJsYWgiLCJlbWFpbCI6Im1haGVyQGdtYWlsLmNvbSJ9.UNcN3c5cRyT4u0dVexH1U2GWIS4pIb3L3m6HYyXCmAYxKE0o8cA5S_3tWT4xrTDbVLWeWyj15HVsneNyHcntEmanhCax_nDSZ7fimOs9esPEl12nU09Pvc9lw3Q66b8b5tXwQwkODk47VsG__OnV5VCnVyuR9c8HKFhpiQ1ONIjc-8e3oKbOf9fNToyiaGrUNq-NvPKq_uevquPRzFxAERqsq-k3Z07NEelTa_5GfiDBW1bt2SAAhhdn2KH63dmj1ejlCseoE0LZaPS7vhKzmqnrooqqUs86Xel54nPhqQnqCUVpf4ABto92NXJVlZa9T7clP6htZDFzz3Dlk6E2ww"}],"authentication":{},"metaSortKey":-1000000000,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"req_16a815662c7c4310b08f7f8da1d4797e","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600849476767,"created":1600847713306,"url":"http://localhost:8000/user/update","name":"Update User","description":"","method":"PUT","body":{"mimeType":"application/json","text":"{\n\t\"email\":\"[email protected]\",\n\t\"firstName\":\"Malek 9\",\n\t\"lastName\":\"Tarboush 9\"\n}"},"parameters":[],"headers":[{"name":"Content-Type","value":"application/json","id":"pair_ec9a399d65d1415b9d6c525efd053c8b"},{"name":"Authorization","value":"Bearer eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICI5RkdPc25NVWdEX3EwWm12aHQ0T29ScWNfUGNrZFZ6djdIUFJrbE5HcmhzIn0.eyJleHAiOjE2MDA4ODM5OTMsImlhdCI6MTYwMDg0Nzk5MywianRpIjoiOGViYjIyYzMtZTk1Yi00NzdmLTk4NDAtZWEzY2I1MmE1YzE4IiwiaXNzIjoiaHR0cDovL2xvY2FsaG9zdDo4MDgwL2F1dGgvcmVhbG1zL2RvY3Rvci1hcHAtcmVhbG0iLCJhdWQiOiJhY2NvdW50Iiwic3ViIjoiNjA1NmVhNzQtNzg4Ny00YTY5LWI3MzAtMjI5OGZkNzE1ZDEyIiwidHlwIjoiQmVhcmVyIiwiYXpwIjoiZG9jdG9yLWFwcC1jbGllbnQiLCJzZXNzaW9uX3N0YXRlIjoiNDE0Yjg4OTgtMzEzOC00OTMwLWEwZTctYmEwNDQyZDIwZWExIiwiYWNyIjoiMSIsImFsbG93ZWQtb3JpZ2lucyI6WyJodHRwOi8vbG9jYWxob3N0OjgwODAiXSwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImFwcC1tYW5hZ2VyIiwib2ZmbGluZV9hY2Nlc3MiLCJhcHAtYWRtaW4iLCJ1bWFfYXV0aG9yaXphdGlvbiJdfSwicmVzb3VyY2VfYWNjZXNzIjp7ImRvY3Rvci1hcHAtY2xpZW50Ijp7InJvbGVzIjpbIm1hbmFnZXIiLCJhZG1pbiJdfSwiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJlbWFpbCBwcm9maWxlIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJuYW1lIjoiTWFoZXIgQWJsYWgiLCJwcmVmZXJyZWRfdXNlcm5hbWUiOiJtYWhlciIsImdpdmVuX25hbWUiOiJNYWhlciIsImZhbWlseV9uYW1lIjoiQWJsYWgiLCJlbWFpbCI6Im1haGVyQGdtYWlsLmNvbSJ9.h8JO2mqHHrjIxDV-9xNbXuDaNLfEfpjsf9WQ4ZVicnOP4j2-MoW3hE3PcrnI2S-Y_2LuZ1DM_SaFc1RdM97V87q34Y7zERVXiZmavaBNy1NrA4PFfS37odNa83u3F2m9DbATdmr_vz4pQ5kDZHJ4yxJnEsMzQ8X4_mBtvX3NtljadYA7-49dbuVWGBE473qidQx2YqSofajkMukUKNuw3jyYbz7sF4ZCpijOsbGP68BqqpMwjxS3cinNpP4L5L77ic_qG2TaBck5kVD4QU5OnqwGbnwtVs21etXYSb7s4uoZ9ezam0mrH5kOhD1NoXIslajJp9Q2i9krM2q9oZ6_Wg","description":"","id":"pair_f7426b8f4d9341b191b58c88624b1fee"}],"authentication":{},"metaSortKey":-1000000000,"isPrivate":false,"settingStoreCookies":true,"settingSendCookies":true,"settingDisableRenderRequestBody":false,"settingEncodeUrl":true,"settingRebuildPath":true,"settingFollowRedirects":"global","_type":"request"},{"_id":"env_60956975c08db650f7764914d4271335a6f790c1","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600849035978,"created":1600849035978,"name":"Base Environment","data":{},"dataPropertyOrder":null,"color":null,"isPrivate":false,"metaSortKey":1600849035978,"_type":"environment"},{"_id":"jar_60956975c08db650f7764914d4271335a6f790c1","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600849035986,"created":1600849035986,"name":"Default Jar","cookies":[],"_type":"cookie_jar"},{"_id":"spc_929d9d5983894befa697f3c239232e28","parentId":"wrk_e63c28902a024a08a1441a0ccec3f964","modified":1600849035626,"created":1600849035626,"fileName":"keycloak-spring-boot-demo","contents":"","contentType":"yaml","_type":"api_spec"}]}