definition.yml 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. key: oauth2
  2. title: Generic OAuth2
  3. description: OAuth 2 is an authorization framework that enables applications to obtain limited access to user accounts on an HTTP service.
  4. author: requarks.io
  5. logo: https://static.requarks.io/logo/oauth2.svg
  6. color: grey darken-4
  7. website: https://oauth.net/2/
  8. isAvailable: true
  9. useForm: false
  10. props:
  11. clientId:
  12. type: String
  13. title: Client ID
  14. hint: Application Client ID
  15. order: 1
  16. clientSecret:
  17. type: String
  18. title: Client Secret
  19. hint: Application Client Secret
  20. order: 2
  21. authorizationURL:
  22. type: String
  23. title: Authorization Endpoint URL
  24. hint: The full URL to the authorization endpoint, used to get an authorization code.
  25. order: 3
  26. tokenURL:
  27. type: String
  28. title: Token Endpoint URL
  29. hint: The full URL to the token endpoint, used to get an access token.
  30. order: 4
  31. mappingUID:
  32. title: Unique ID Field Mapping
  33. type: String
  34. default: 'id'
  35. hint: The field storing the user unique identifier, e.g. "id" or "_id".
  36. maxWidth: 500
  37. order: 20
  38. mappingEmail:
  39. title: Email Field Mapping
  40. type: String
  41. default: 'email'
  42. hint: The field storing the user email, e.g. "email" or "mail".
  43. maxWidth: 500
  44. order: 21
  45. mappingDisplayName:
  46. title: Display Name Field Mapping
  47. type: String
  48. default: 'name'
  49. hint: The field storing the user display name, e.g. "name", "displayName" or "username".
  50. maxWidth: 500
  51. order: 22
  52. mappingPicture:
  53. title: Avatar Picture Field Mapping
  54. type: String
  55. default: 'pictureUrl'
  56. hint: The field storing the user avatar picture, e.g. "pictureUrl" or "avatarUrl".
  57. maxWidth: 500
  58. order: 23