oauth-login-webhook.json 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. {
  2. "nonce": "Ei7VZruhJqnJ",
  3. "authentications": {
  4. "account": {
  5. "account": {
  6. "account": {},
  7. "managed": false,
  8. "service": {
  9. "description": "",
  10. "title": "Sentry QA (dcramer)",
  11. "created": "2017-09-07T16:47:05.777063Z",
  12. "visible": true,
  13. "metadata": {
  14. "modalHeight": 600,
  15. "modalWidth": 400,
  16. "hasRegistration": true
  17. },
  18. "approved": true,
  19. "alias": "sentry-qa-dcramer",
  20. "points": 0,
  21. "orgId": "f5a54c9c5b86f45095b559369b4e0f18",
  22. "oAuth": {
  23. "default": {
  24. "scopes": [],
  25. "authURL": "http://fizzbuzz-123.ngrok.io/oauth/authorize/",
  26. "tokenURL": "http://fizzbuzz-123.ngrok.io/oauth/token/",
  27. "clientID": "998fe23be6bf443ba63a0856b6414c5a3c01d4b10f57428d8cb8d4a9da0d8dc2",
  28. "clientSecret": "5e0db3991c2048a2b84c93929a9044c5e1cc4345d12c4901b856abd3d28c6276"
  29. }
  30. },
  31. "org": {
  32. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  33. "personal": true,
  34. "created": null,
  35. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  36. "title": ""
  37. },
  38. "endpoints": {
  39. "apiProvision": "",
  40. "oauthProvision": "",
  41. "metadata": "http://fizzbuzz-123.ngrok.io/integrations/cloudflare/metadata/"
  42. },
  43. "id": "ZvlDQw7LjHEJ",
  44. "icon": ""
  45. },
  46. "title": "",
  47. "createdForInstallId": "UyQXS8EkJIz9",
  48. "created": "2017-09-08T18:03:42.446265116Z",
  49. "lastUsed": null,
  50. "visible": true,
  51. "state": 1,
  52. "serviceId": "ZvlDQw7LjHEJ",
  53. "orgId": "",
  54. "id": "sKyaRh9xkrHL",
  55. "lastAuthed": "2017-09-08T18:03:41.718257286Z"
  56. },
  57. "token": {
  58. "refreshToken": "20196e90255047e88074b4243110d15c7f8021542fff486aa1786499057aa336",
  59. "token": "55838c83b3ec4e3ebc24c10c7bd071ffb1dc91161d3d49aeaedd9bd35d84bbe2",
  60. "type": "bearer",
  61. "expiration": "2017-10-08T18:03:40.718230972Z"
  62. }
  63. }
  64. },
  65. "timestamp": 1504893822,
  66. "app": {
  67. "color": "",
  68. "termsOfServiceURL": "",
  69. "screenshots": null,
  70. "id": "",
  71. "userVisible": false,
  72. "title": "",
  73. "tagline": "",
  74. "categoryIds": null,
  75. "source": "",
  76. "agreements": null,
  77. "products": null,
  78. "instructions": "",
  79. "infoVersion": "",
  80. "installable": false,
  81. "website": "",
  82. "privacyPolicyURL": "",
  83. "codeVersion": "",
  84. "longDescription": "",
  85. "tileImage": "",
  86. "icon": "",
  87. "shortDescription": "",
  88. "adminVisible": false,
  89. "created": null,
  90. "author": "",
  91. "alias": "",
  92. "points": 0,
  93. "orgId": "",
  94. "supportEmail": ""
  95. },
  96. "site": {
  97. "active": false,
  98. "orgId": "",
  99. "id": "",
  100. "name": ""
  101. },
  102. "version": {
  103. "files": [],
  104. "definition": {
  105. "hooks": [
  106. {
  107. "failure": {
  108. "action": "notify",
  109. "message": "There was an error communicating with Sentry."
  110. },
  111. "endpoint": "https://fizzbuzz-123.ngrok.io/extensions/cloudflare/webhook/",
  112. "events": [
  113. "option-change:account",
  114. "option-change:organization",
  115. "option-change:project",
  116. "preview",
  117. "oauth-login",
  118. "account-logout",
  119. "new-install",
  120. "update-install",
  121. "before-new-install",
  122. "before-update-install",
  123. "delete-install"
  124. ],
  125. "block": true,
  126. "authenticate": ["account"]
  127. }
  128. ],
  129. "preview": {
  130. "hide": true
  131. },
  132. "options": {
  133. "properties": {
  134. "dsn": {
  135. "description": "Your automatically configured DSN for communicating with Sentry.",
  136. "title": "DSN",
  137. "placeholder": "https://public_key@sentry.io/1",
  138. "readonly": true,
  139. "type": "string",
  140. "order": 3
  141. },
  142. "organization": {
  143. "enum": [],
  144. "type": "string",
  145. "order": 1,
  146. "title": "Sentry Organization"
  147. },
  148. "account": {
  149. "services": ["sentry-qa-dcramer"],
  150. "title": "Sentry Account",
  151. "type": "object",
  152. "order": 0,
  153. "format": "account"
  154. },
  155. "project": {
  156. "enum": [],
  157. "type": "string",
  158. "order": 2,
  159. "title": "Sentry Project"
  160. }
  161. }
  162. },
  163. "resources": {
  164. "body": [
  165. {
  166. "src": "./source/sentry.js",
  167. "type": "script"
  168. },
  169. {
  170. "src": "./source/app.js",
  171. "type": "script"
  172. }
  173. ]
  174. }
  175. },
  176. "creatorUserId": "",
  177. "hasCode": true,
  178. "created": null,
  179. "manual": true,
  180. "moderationStatus": "",
  181. "source": "",
  182. "tag": "FBxPSIbK5-6S",
  183. "appId": "local",
  184. "fileHandle": "local/FBxPSIbK5-6S",
  185. "installable": false
  186. },
  187. "user": {
  188. "username": "f5a54c9c5b86f45095b559369b4e0f18",
  189. "firstName": "",
  190. "created": null,
  191. "lastName": "",
  192. "email": "david@sentry.io",
  193. "personalOrgId": "",
  194. "id": "f5a54c9c5b86f45095b559369b4e0f18",
  195. "developer": false
  196. },
  197. "install": {
  198. "installerUserId": "",
  199. "versionTag": "FBxPSIbK5-6S",
  200. "created": null,
  201. "deleted": false,
  202. "deactivatedAt": null,
  203. "metadata": {
  204. "userId": "f5a54c9c5b86f45095b559369b4e0f18"
  205. },
  206. "id": "UyQXS8EkJIz9",
  207. "refundedAt": null,
  208. "amount": 0,
  209. "siteId": "preview",
  210. "pastDue": false,
  211. "appId": "local",
  212. "active": true,
  213. "subscriptionId": "",
  214. "productId": "",
  215. "options": {
  216. "dsn": "",
  217. "account": {
  218. "service": "sentry-qa-dcramer",
  219. "accountId": "sKyaRh9xkrHL"
  220. }
  221. },
  222. "schema": {
  223. "type": "object",
  224. "properties": {
  225. "dsn": {
  226. "description": "Your automatically configured DSN for communicating with Sentry.",
  227. "title": "DSN",
  228. "_show": true,
  229. "readonly": true,
  230. "type": "string",
  231. "placeholder": "https://public_key@sentry.io/1",
  232. "order": 3
  233. },
  234. "organization": {
  235. "_show": true,
  236. "enum": [],
  237. "type": "string",
  238. "order": 1,
  239. "title": "Sentry Organization"
  240. },
  241. "account": {
  242. "title": "Sentry Account",
  243. "_show": true,
  244. "format": "account",
  245. "order": 0,
  246. "services": ["sentry-qa-dcramer"],
  247. "type": "object",
  248. "properties": {}
  249. },
  250. "project": {
  251. "_show": true,
  252. "enum": [],
  253. "type": "string",
  254. "order": 2,
  255. "title": "Sentry Project"
  256. }
  257. }
  258. }
  259. },
  260. "org": {
  261. "username": "",
  262. "personal": false,
  263. "created": null,
  264. "id": "",
  265. "title": ""
  266. },
  267. "event": "oauth-login",
  268. "metadata": {
  269. "serviceId": "ZvlDQw7LjHEJ",
  270. "code": "62e586ce44234196a1735416d029ad43",
  271. "key": "account"
  272. }
  273. }