definition.yml 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. key: github
  2. title: GitHub
  3. description: GitHub Inc. is a web-based hosting service for version control using Git.
  4. author: requarks.io
  5. logo: https://static.requarks.io/logo/github.svg
  6. icon: /_assets/icons/ultraviolet-github.svg
  7. color: grey darken-3
  8. website: https://github.com
  9. isAvailable: true
  10. useForm: false
  11. props:
  12. clientId:
  13. type: String
  14. title: Client ID
  15. hint: Application Client ID
  16. order: 1
  17. clientSecret:
  18. type: String
  19. title: Client Secret
  20. hint: Application Client Secret
  21. sensitive: true
  22. order: 2
  23. useEnterprise:
  24. type: Boolean
  25. title: Use GitHub Enterprise
  26. hint: Enable if you're using the self-hosted GitHub Enterprise version
  27. default: false
  28. order: 3
  29. enterpriseDomain:
  30. type: String
  31. title: GitHub Enterprise Domain
  32. hint: GitHub Enterprise Only - Domain of your installation (e.g. github.company.com). Leave blank otherwise.
  33. default: ''
  34. order: 4
  35. if:
  36. - { key: 'useEnterprise', eq: true }
  37. enterpriseUserEndpoint:
  38. type: String
  39. title: GitHub Enterprise User Endpoint
  40. hint: GitHub Enterprise Only - Endpoint to fetch user details (e.g. https://api.github.com/user). Leave blank otherwise.
  41. default: 'https://api.github.com/user'
  42. order: 5
  43. if:
  44. - { key: 'useEnterprise', eq: true }
  45. refs:
  46. callbackUrl:
  47. title: Authorization Callback URL
  48. hint: The callback endpoint to input on GitHub.
  49. icon: back
  50. value: '{host}/login/{id}/callback'