From 479cb387cfd51816e5b3b60f3dc540897ba391ea Mon Sep 17 00:00:00 2001 From: Cobalt0s Date: Wed, 12 Aug 2026 04:11:11 +0300 Subject: [PATCH] feat(oauth2): Custom scope query param --- README.md | 7 + api/generated/api.bundled.json | 6 + api/generated/api.json | 230 +++++++++++++++++---------------- catalog/catalog.yaml | 8 ++ catalog/generated/catalog.json | 26 +++- 5 files changed, 167 insertions(+), 110 deletions(-) diff --git a/README.md b/README.md index 3130c30b..bf3c8044 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,13 @@ Ensure you have pnpm installed globally npm install -g pnpm ``` +As well as `rdme`: + +```shell +npm install -g rdme +``` + + Install dependencies ```shell diff --git a/api/generated/api.bundled.json b/api/generated/api.bundled.json index 99955b1b..b9c5aa5b 100644 --- a/api/generated/api.bundled.json +++ b/api/generated/api.bundled.json @@ -11861,6 +11861,12 @@ "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", "example": 120, "x-go-type-skip-optional-pointer": true + }, + "scopeQueryParam": { + "type": "string", + "description": "The query parameter name used to pass OAuth scopes in the authorization URL.\nDefaults to \"scope\" when not specified. Some providers use a different\nparameter name, such as \"user_scope\" for Slack user scopes.\n", + "example": "user_scope", + "x-go-type-skip-optional-pointer": true } } }, diff --git a/api/generated/api.json b/api/generated/api.json index 3231d1a9..d896da98 100644 --- a/api/generated/api.json +++ b/api/generated/api.json @@ -951,13 +951,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -990,13 +990,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -1014,13 +1014,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -13250,13 +13250,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -13431,13 +13431,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -13470,13 +13470,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -13494,13 +13494,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -15892,7 +15892,6 @@ "default": "api:create-installation" }, "content": { - "description": "The content of the config.", "title": "Config Content", "allOf": [ { @@ -17509,7 +17508,8 @@ } } } - ] + ], + "description": "The content of the config." } }, "description": "The config of the installation." @@ -17646,13 +17646,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -17827,13 +17827,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -17866,13 +17866,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -17890,13 +17890,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -20580,13 +20580,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -20761,13 +20761,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -20800,13 +20800,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -20824,13 +20824,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -24102,13 +24102,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -24283,13 +24283,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -24322,13 +24322,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -24346,13 +24346,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -27202,13 +27202,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -27383,13 +27383,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -27422,13 +27422,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -27446,13 +27446,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -30499,13 +30499,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -30680,13 +30680,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -30719,13 +30719,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -30743,13 +30743,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -35412,7 +35412,7 @@ "type": "string", "description": "The time the operation was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } } @@ -37093,7 +37093,7 @@ "type": "string", "description": "The time the operation was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -37365,7 +37365,7 @@ "timestamp": { "type": "string", "description": "The time the log was created.", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "message": { "type": "object", @@ -38450,6 +38450,12 @@ "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", "example": 120, "x-go-type-skip-optional-pointer": true + }, + "scopeQueryParam": { + "type": "string", + "description": "The query parameter name used to pass OAuth scopes in the authorization URL.\nDefaults to \"scope\" when not specified. Some providers use a different\nparameter name, such as \"user_scope\" for Slack user scopes.\n", + "example": "user_scope", + "x-go-type-skip-optional-pointer": true } } }, @@ -40001,6 +40007,12 @@ "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", "example": 120, "x-go-type-skip-optional-pointer": true + }, + "scopeQueryParam": { + "type": "string", + "description": "The query parameter name used to pass OAuth scopes in the authorization URL.\nDefaults to \"scope\" when not specified. Some providers use a different\nparameter name, such as \"user_scope\" for Slack user scopes.\n", + "example": "user_scope", + "x-go-type-skip-optional-pointer": true } } }, @@ -44694,13 +44706,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -44733,13 +44745,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -44757,13 +44769,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -45758,13 +45770,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -45797,13 +45809,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -45821,13 +45833,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -46953,13 +46965,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -46992,13 +47004,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -47016,13 +47028,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -48079,13 +48091,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -48118,13 +48130,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -48142,13 +48154,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -68287,13 +68299,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -68326,13 +68338,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -68350,13 +68362,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -70567,13 +70579,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -70748,13 +70760,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -70787,13 +70799,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -70811,13 +70823,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -74444,13 +74456,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -74483,13 +74495,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -74507,13 +74519,13 @@ "type": "string", "description": "The time the connection was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the connection was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "authScheme": { "type": "string", @@ -75445,13 +75457,13 @@ "type": "string", "description": "The time the group was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the group was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -75484,13 +75496,13 @@ "type": "string", "description": "The time the consumer was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "updateTime": { "type": "string", "description": "The time the consumer was last updated.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -75617,7 +75629,7 @@ "type": "string", "description": "The time the operation was created.", "format": "date-time", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" } } }, @@ -75677,7 +75689,7 @@ "timestamp": { "type": "string", "description": "The time the log was created.", - "example": "2023-07-13T21:34:44.816Z" + "example": "2023-07-13T21:34:44.816354Z" }, "message": { "type": "object", diff --git a/catalog/catalog.yaml b/catalog/catalog.yaml index 9d106c18..2e14019b 100644 --- a/catalog/catalog.yaml +++ b/catalog/catalog.yaml @@ -265,6 +265,14 @@ components: Token-manager adds a random stagger offset on top. If absent, defaults to 24. example: 120 x-go-type-skip-optional-pointer: true + scopeQueryParam: + type: string + description: | + The query parameter name used to pass OAuth scopes in the authorization URL. + Defaults to "scope" when not specified. Some providers use a different + parameter name, such as "user_scope" for Slack user scopes. + example: user_scope + x-go-type-skip-optional-pointer: true AccessTokenOpts: title: Oauth2 Access Token Options diff --git a/catalog/generated/catalog.json b/catalog/generated/catalog.json index 253f63d1..17906517 100644 --- a/catalog/generated/catalog.json +++ b/catalog/generated/catalog.json @@ -666,6 +666,12 @@ "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", "example": 120, "x-go-type-skip-optional-pointer": true + }, + "scopeQueryParam": { + "type": "string", + "description": "The query parameter name used to pass OAuth scopes in the authorization URL.\nDefaults to \"scope\" when not specified. Some providers use a different\nparameter name, such as \"user_scope\" for Slack user scopes.\n", + "example": "user_scope", + "x-go-type-skip-optional-pointer": true } } }, @@ -2030,6 +2036,12 @@ "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", "example": 120, "x-go-type-skip-optional-pointer": true + }, + "scopeQueryParam": { + "type": "string", + "description": "The query parameter name used to pass OAuth scopes in the authorization URL.\nDefaults to \"scope\" when not specified. Some providers use a different\nparameter name, such as \"user_scope\" for Slack user scopes.\n", + "example": "user_scope", + "x-go-type-skip-optional-pointer": true } } }, @@ -3242,7 +3254,7 @@ "properties": { "timestamp": { "type": "string", - "example": "2024-07-30T22:14:51.000Z", + "example": "2024-07-30T15:14:51-07:00", "description": "An RFC3339 formatted timestamp of when the catalog was generated.", "x-oapi-codegen-extra-tags": { "validate": "required" @@ -3487,6 +3499,12 @@ "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", "example": 120, "x-go-type-skip-optional-pointer": true + }, + "scopeQueryParam": { + "type": "string", + "description": "The query parameter name used to pass OAuth scopes in the authorization URL.\nDefaults to \"scope\" when not specified. Some providers use a different\nparameter name, such as \"user_scope\" for Slack user scopes.\n", + "example": "user_scope", + "x-go-type-skip-optional-pointer": true } } }, @@ -4822,6 +4840,12 @@ "description": "How many hours between proactive token keep-alive refreshes for this provider.\nToken-manager adds a random stagger offset on top. If absent, defaults to 24.\n", "example": 120, "x-go-type-skip-optional-pointer": true + }, + "scopeQueryParam": { + "type": "string", + "description": "The query parameter name used to pass OAuth scopes in the authorization URL.\nDefaults to \"scope\" when not specified. Some providers use a different\nparameter name, such as \"user_scope\" for Slack user scopes.\n", + "example": "user_scope", + "x-go-type-skip-optional-pointer": true } } },