[Workplace Search] Add conditional props for Gmail (#94855)

THis PR adds conditional query params that gmail sends when doing an oauth redirect.
This commit is contained in:
Scotty Bollinger 2021-03-17 17:22:59 -05:00 committed by GitHub
parent 3ec9a17e2e
commit 74b604608a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -859,6 +859,10 @@ export function registerOauthConnectorParamsRoute({
kibana_host: schema.string(),
code: schema.maybe(schema.string()),
session_state: schema.maybe(schema.string()),
authuser: schema.maybe(schema.string()),
prompt: schema.maybe(schema.string()),
hd: schema.maybe(schema.string()),
scope: schema.maybe(schema.string()),
state: schema.string(),
oauth_token: schema.maybe(schema.string()),
oauth_verifier: schema.maybe(schema.string()),