瀏覽代碼

api_key doesn't seem to work for the imgur service, using client_id works

pull/929/head
Yannick Goossens 5 年之前
父節點
當前提交
86cf5d8c74
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. +3
    -2
      roles/matrix-bot-go-neb/defaults/main.yml

+ 3
- 2
roles/matrix-bot-go-neb/defaults/main.yml 查看文件

@@ -124,12 +124,13 @@ matrix_bot_go_neb_services: {}
# cx: "AIASDFWSRRtrtr"
#
## Get a key via https://api.imgur.com/oauth2/addclient
## Select "oauth2 without callback url" and use the clientid as api_key value
## Select "oauth2 without callback url"
# - ID: "imgur_service"
# Type: "imgur"
# UserID: "@imgur:{{ matrix_domain }}" # requires a Syncing client
# Config:
# api_key: "AIzaSyA4FD39m9"
# client_id: "AIzaSyA4FD39m9"
# client_secret: "somesecret"
#
# - ID: "wikipedia_service"
# Type: "wikipedia"


Loading…
取消
儲存