Created
March 1, 2022 01:37
-
-
Save liyangau/4be85b9dd56e4a1250480aa210c5e05a to your computer and use it in GitHub Desktop.
This is a Insomnia collections for Azure AD authentication flows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_type": "export", | |
"__export_format": 4, | |
"__export_date": "2022-03-01T01:35:30.864Z", | |
"__export_source": "insomnia.desktop.app:v2021.7.2", | |
"resources": [ | |
{ | |
"_id": "req_8d53c5e0a3b3487b9ae3b9b2e121a491", | |
"parentId": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"modified": 1646098507189, | |
"created": 1645930435128, | |
"url": "", | |
"name": "authorization_code", | |
"description": "", | |
"method": "GET", | |
"body": { | |
}, | |
"parameters": [ | |
], | |
"headers": [ | |
], | |
"authentication": { | |
"type": "oauth2", | |
"grantType": "authorization_code", | |
"authorizationUrl": "https://login.microsoftonline.com/{{ _.tenant_id }}/oauth2/v2.0/authorize", | |
"accessTokenUrl": "https://login.microsoftonline.com/{{ _.tenant_id }}/oauth2/v2.0/token", | |
"clientId": "{{ _.client_id }}", | |
"clientSecret": "{{ _.client_seret }}", | |
"redirectUrl": "http://localhost/callback", | |
"scope": "openid offline_access profile email", | |
"usePkce": true, | |
"disabled": false | |
}, | |
"metaSortKey": -1645930245212, | |
"isPrivate": false, | |
"settingStoreCookies": false, | |
"settingSendCookies": false, | |
"settingDisableRenderRequestBody": false, | |
"settingEncodeUrl": true, | |
"settingRebuildPath": true, | |
"settingFollowRedirects": "global", | |
"_type": "request" | |
}, | |
{ | |
"_id": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"parentId": null, | |
"modified": 1645925973643, | |
"created": 1645925973643, | |
"name": "Azure", | |
"description": "", | |
"scope": "collection", | |
"_type": "workspace" | |
}, | |
{ | |
"_id": "req_fcef3c6317f245f2a63c9c28f5497234", | |
"parentId": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"modified": 1646098506651, | |
"created": 1645930277236, | |
"url": "https://login.microsoftonline.com/{{ _.tenant_id }}/oauth2/v2.0/token", | |
"name": "password", | |
"description": "", | |
"method": "GET", | |
"body": { | |
"mimeType": "application/x-www-form-urlencoded", | |
"params": [ | |
{ | |
"id": "pair_14cec81908ac46f39b202916e710b893", | |
"name": "grant_type", | |
"value": "password", | |
"description": "" | |
}, | |
{ | |
"id": "pair_bc060a496044449ebc7d69608c723f39", | |
"name": "client_id", | |
"value": "{{ _.client_id }}", | |
"description": "" | |
}, | |
{ | |
"id": "pair_348e9a0a8fc2454582a3e9bb582b469e", | |
"name": "client_secret", | |
"value": "{{ _.client_seret }}", | |
"description": "" | |
}, | |
{ | |
"id": "pair_284e70da8e5e4b3380c31ed00de83975", | |
"name": "username", | |
"value": "{{ _.username }}", | |
"description": "" | |
}, | |
{ | |
"id": "pair_d836f5109c734433a4d2b821b5f198f0", | |
"name": "password", | |
"value": "{{ _.password }}", | |
"description": "" | |
}, | |
{ | |
"id": "pair_9d9d382895ac4c968499ab5cf99d0cb6", | |
"name": "scope", | |
"value": "openid profile email offline_access", | |
"description": "", | |
"disabled": false | |
} | |
] | |
}, | |
"parameters": [ | |
], | |
"headers": [ | |
{ | |
"name": "Content-Type", | |
"value": "application/x-www-form-urlencoded", | |
"id": "pair_94031aaf8ca34bc2b685ddd90d8b1ba2" | |
} | |
], | |
"authentication": { | |
}, | |
"metaSortKey": -1645930245187, | |
"isPrivate": false, | |
"settingStoreCookies": false, | |
"settingSendCookies": false, | |
"settingDisableRenderRequestBody": false, | |
"settingEncodeUrl": true, | |
"settingRebuildPath": true, | |
"settingFollowRedirects": "global", | |
"_type": "request" | |
}, | |
{ | |
"_id": "req_826143dcf142420eb769fcc9695b9957", | |
"parentId": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"modified": 1646098506136, | |
"created": 1645930268570, | |
"url": "https://login.microsoftonline.com/{{ _.tenant_id }}/oauth2/v2.0/token", | |
"name": "client_credential", | |
"description": "", | |
"method": "GET", | |
"body": { | |
"mimeType": "application/x-www-form-urlencoded", | |
"params": [ | |
{ | |
"id": "pair_14cec81908ac46f39b202916e710b893", | |
"name": "grant_type", | |
"value": "client_credentials", | |
"description": "" | |
}, | |
{ | |
"id": "pair_bc060a496044449ebc7d69608c723f39", | |
"name": "client_id", | |
"value": "{{ _.client_id }}", | |
"description": "" | |
}, | |
{ | |
"id": "pair_348e9a0a8fc2454582a3e9bb582b469e", | |
"name": "client_secret", | |
"value": "{{ _.client_seret }}", | |
"description": "" | |
}, | |
{ | |
"id": "pair_9d9d382895ac4c968499ab5cf99d0cb6", | |
"name": "scope", | |
"value": "{{ _.client_id }}/.default", | |
"description": "", | |
"disabled": false | |
} | |
] | |
}, | |
"parameters": [ | |
], | |
"headers": [ | |
{ | |
"name": "Content-Type", | |
"value": "application/x-www-form-urlencoded", | |
"id": "pair_94031aaf8ca34bc2b685ddd90d8b1ba2" | |
} | |
], | |
"authentication": { | |
}, | |
"metaSortKey": -1645930245174.5, | |
"isPrivate": false, | |
"settingStoreCookies": false, | |
"settingSendCookies": false, | |
"settingDisableRenderRequestBody": false, | |
"settingEncodeUrl": true, | |
"settingRebuildPath": true, | |
"settingFollowRedirects": "global", | |
"_type": "request" | |
}, | |
{ | |
"_id": "req_cc594f75533148b3ad58ec47692651e1", | |
"parentId": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"modified": 1646098500204, | |
"created": 1645927837215, | |
"url": "https://graph.microsoft.com/oidc/userinfo", | |
"name": "userinfo", | |
"description": "", | |
"method": "GET", | |
"body": { | |
}, | |
"parameters": [ | |
], | |
"headers": [ | |
], | |
"authentication": { | |
"type": "bearer", | |
"token": "{% response 'body', 'req_fcef3c6317f245f2a63c9c28f5497234', 'b64::JC5hY2Nlc3NfdG9rZW4=::46b', 'always', 60 %}" | |
}, | |
"metaSortKey": -1645930245168.25, | |
"isPrivate": false, | |
"settingStoreCookies": false, | |
"settingSendCookies": false, | |
"settingDisableRenderRequestBody": false, | |
"settingEncodeUrl": true, | |
"settingRebuildPath": true, | |
"settingFollowRedirects": "global", | |
"_type": "request" | |
}, | |
{ | |
"_id": "env_483f8fe43fa5e8eb956750add45a9643a8150f24", | |
"parentId": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"modified": 1646098465067, | |
"created": 1645925973664, | |
"name": "Base Environment", | |
"data": { | |
"client_id": "", | |
"client_seret": "", | |
"tenant_id": "", | |
"username": "", | |
"password": "" | |
}, | |
"dataPropertyOrder": { | |
"&": [ | |
"client_id", | |
"client_seret", | |
"tenant_id", | |
"username", | |
"password" | |
] | |
}, | |
"color": null, | |
"isPrivate": false, | |
"metaSortKey": 1645925973664, | |
"_type": "environment" | |
}, | |
{ | |
"_id": "jar_483f8fe43fa5e8eb956750add45a9643a8150f24", | |
"parentId": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"modified": 1646097925734, | |
"created": 1645925973667, | |
"name": "Default Jar", | |
"cookies": [ | |
{ | |
"key": "fpc", | |
"value": "AoqbCxvDhbVEnStNw83PwL332leZAQAAAL9sr9kOAAAAZrmfmAUAAADdbK_ZDgAAAA", | |
"expires": "2022-03-31T01:25:25.000Z", | |
"domain": "login.microsoftonline.com", | |
"path": "/", | |
"secure": true, | |
"httpOnly": true, | |
"extensions": [ | |
"SameSite=None" | |
], | |
"hostOnly": true, | |
"creation": "2022-02-27T01:46:49.925Z", | |
"lastAccessed": "2022-03-01T01:25:25.734Z", | |
"id": "9041759115953838" | |
}, | |
{ | |
"key": "x-ms-gateway-slice", | |
"value": "estsfd", | |
"domain": "login.microsoftonline.com", | |
"path": "/", | |
"secure": true, | |
"httpOnly": true, | |
"extensions": [ | |
"samesite=none" | |
], | |
"hostOnly": true, | |
"creation": "2022-02-27T01:46:49.926Z", | |
"lastAccessed": "2022-03-01T01:25:25.734Z", | |
"id": "15903665297848057" | |
}, | |
{ | |
"key": "stsservicecookie", | |
"value": "estsfd", | |
"domain": "login.microsoftonline.com", | |
"path": "/", | |
"secure": true, | |
"httpOnly": true, | |
"extensions": [ | |
"samesite=none" | |
], | |
"hostOnly": true, | |
"creation": "2022-02-27T01:46:49.926Z", | |
"lastAccessed": "2022-03-01T01:25:25.734Z", | |
"id": "254263944388442" | |
} | |
], | |
"_type": "cookie_jar" | |
}, | |
{ | |
"_id": "spc_4482c7b3d09a4951b40c9c767913e0c7", | |
"parentId": "wrk_aba5d4b0da6e46298cec551c288da364", | |
"modified": 1645925973652, | |
"created": 1645925973652, | |
"fileName": "Azure", | |
"contents": "", | |
"contentType": "yaml", | |
"_type": "api_spec" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment