definition.yml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. sensitive: true
  22. order: 2
  23. authorizationURL:
  24. type: String
  25. title: Authorization Endpoint URL
  26. hint: Application Authorization Endpoint URL
  27. order: 3
  28. tokenURL:
  29. type: String
  30. title: Token Endpoint URL
  31. hint: Application Token Endpoint URL
  32. order: 4
  33. userInfoURL:
  34. type: String
  35. title: User Info Endpoint URL
  36. hint: User Info Endpoint URL
  37. order: 5
  38. userIdClaim:
  39. type: String
  40. title: ID Claim
  41. hint: Field containing the user ID
  42. default: id
  43. maxWidth: 500
  44. order: 6
  45. displayNameClaim:
  46. type: String
  47. title: Display Name Claim
  48. hint: Field containing user display name
  49. default: displayName
  50. maxWidth: 500
  51. order: 7
  52. emailClaim:
  53. type: String
  54. title: Email Claim
  55. hint: Field containing the user email address
  56. default: email
  57. maxWidth: 500
  58. order: 8
  59. logoutURL:
  60. type: String
  61. title: Logout URL
  62. hint: (optional) Logout URL on the OAuth2 provider where the user will be redirected to complete the logout process.
  63. order: 9
  64. scope:
  65. type: String
  66. title: Scope
  67. hint: (optional) Application Client permission scopes.
  68. order: 10
  69. useQueryStringForAccessToken:
  70. type: Boolean
  71. default: false
  72. title: Pass access token via GET query string to User Info Endpoint
  73. 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.
  74. order: 11
  75. refs:
  76. callbackUrl:
  77. title: Authorization Callback URL
  78. hint: The callback endpoint to input on the oauth2 server.
  79. icon: back
  80. value: '{host}/login/{id}/callback'