[Workplace Search] Make session_state optional (#94219)
Some OAuth plugins don’t send this key so we make it optional to prevent server errors.
This commit is contained in:
parent
8d15c28899
commit
89a43555f8
1 changed files with 1 additions and 1 deletions
|
@ -858,7 +858,7 @@ export function registerOauthConnectorParamsRoute({
|
||||||
query: schema.object({
|
query: schema.object({
|
||||||
kibana_host: schema.string(),
|
kibana_host: schema.string(),
|
||||||
code: schema.string(),
|
code: schema.string(),
|
||||||
session_state: schema.string(),
|
session_state: schema.maybe(schema.string()),
|
||||||
state: schema.string(),
|
state: schema.string(),
|
||||||
oauth_verifier: schema.maybe(schema.string()),
|
oauth_verifier: schema.maybe(schema.string()),
|
||||||
}),
|
}),
|
||||||
|
|
Loading…
Reference in a new issue