mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-04 10:13:53 +08:00
feat: Add Feishu OAuth login & consumer-grade MCP
This commit is contained in:
@@ -94,9 +94,9 @@ const Auth = () => {
|
||||
const { code, data, msg } = response
|
||||
if (code === STATUS_CODE.SUCCESS) {
|
||||
form.setFieldsValue({
|
||||
clientId: data.info?.config?.clientId || '',
|
||||
clientSecret: data.info?.config?.clientSecret || '',
|
||||
enabled: data.info?.enable || false
|
||||
clientId: data.driver?.config?.clientId || '',
|
||||
clientSecret: data.driver?.config?.clientSecret || '',
|
||||
enabled: data.driver?.enable || false
|
||||
})
|
||||
} else {
|
||||
message.error(msg || $t(RESPONSE_TIPS.error))
|
||||
|
||||
Reference in New Issue
Block a user