definition.yml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. key: oauth2
  2. title: Generic OAuth2
  3. description: OAuth 2.0 is the industry-standard protocol for authorization.
  4. author: requarks.io
  5. logo: https://static.requarks.io/logo/oauth2.svg
  6. icon: /_assets/icons/ultraviolet-oauth2.svg
  7. color: blue-grey darken-2
  8. website: https://oauth.net/2/
  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. order: 2
  22. authorizationURL:
  23. type: String
  24. title: Authorization Endpoint URL
  25. hint: Application Authorization Endpoint URL
  26. order: 3
  27. tokenURL:
  28. type: String
  29. title: Token Endpoint URL
  30. hint: Application Token Endpoint URL
  31. order: 4
  32. userInfoURL:
  33. type: String
  34. title: User Info Endpoint URL
  35. hint: User Info Endpoint URL
  36. order: 5
  37. userIdClaim:
  38. type: String
  39. title: ID Claim
  40. hint: Field containing the user ID
  41. default: id
  42. maxWidth: 500
  43. order: 6
  44. displayNameClaim:
  45. type: String
  46. title: Display Name Claim
  47. hint: Field containing user display name
  48. default: displayName
  49. maxWidth: 500
  50. order: 7
  51. emailClaim:
  52. type: String
  53. title: Email Claim
  54. hint: Field containing the user email address
  55. default: email
  56. maxWidth: 500
  57. order: 8
  58. logoutURL:
  59. type: String
  60. title: Logout URL
  61. hint: (optional) Logout URL on the OAuth2 provider where the user will be redirected to complete the logout process.
  62. order: 9
  63. scope:
  64. type: String
  65. title: Scope
  66. hint: (optional) Application Client permission scopes.
  67. order: 10
  68. useQueryStringForAccessToken:
  69. type: Boolean
  70. default: false
  71. title: Pass access token via GET query string to User Info Endpoint
  72. hint: (optional) Pass the access token in an `access_token` parameter attached to the GET query string of the User Info Endpoint URL. Otherwise the access token will be passed in the Authorization header.
  73. order: 11