definition.yml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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. color: blue-grey darken-2
  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: Application Authorization Endpoint URL
  25. order: 3
  26. tokenURL:
  27. type: String
  28. title: Token Endpoint URL
  29. hint: Application Token Endpoint URL
  30. order: 4
  31. userInfoURL:
  32. type: String
  33. title: User Info Endpoint URL
  34. hint: User Info Endpoint URL
  35. order: 5
  36. userIdClaim:
  37. type: String
  38. title: ID Claim
  39. hint: Field containing the user ID
  40. default: id
  41. maxWidth: 500
  42. order: 6
  43. displayNameClaim:
  44. type: String
  45. title: Display Name Claim
  46. hint: Field containing user display name
  47. default: displayName
  48. maxWidth: 500
  49. order: 7
  50. emailClaim:
  51. type: String
  52. title: Email Claim
  53. hint: Field containing the user email address
  54. default: email
  55. maxWidth: 500
  56. order: 8
  57. mapGroups:
  58. type: Boolean
  59. title: Map Groups
  60. hint: Map groups matching names from the groups claim value
  61. default: false
  62. order: 9
  63. groupsClaim:
  64. type: String
  65. title: Groups Claim
  66. hint: Field containing the group names
  67. default: groups
  68. maxWidth: 500
  69. order: 10
  70. logoutURL:
  71. type: String
  72. title: Logout URL
  73. hint: (optional) Logout URL on the OAuth2 provider where the user will be redirected to complete the logout process.
  74. order: 11
  75. scope:
  76. type: String
  77. title: Scope
  78. hint: (optional) Application Client permission scopes.
  79. order: 12
  80. useQueryStringForAccessToken:
  81. type: Boolean
  82. default: false
  83. title: Pass access token via GET query string to User Info Endpoint
  84. 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.
  85. order: 13
  86. enableCSRFProtection:
  87. type: Boolean
  88. default: true
  89. title: Enable CSRF protection
  90. hint: Pass a nonce state parameter during authentication to protect against CSRF attacks.
  91. order: 14