-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[WorkplaceAI][PerUserAuth] Support connectors created in non default space #251873
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d8edc2d
c4c7068
858adc0
3d36906
45ff3fe
cf2aa40
fd59cf1
c6e8895
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -177,6 +177,7 @@ export function setupSavedObjects( | |
| 'redirectUri', | ||
| 'authorizationUrl', | ||
| 'scope', | ||
| 'spaceId', | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In light of @jeramysoucy's comment here, I'm thinking we could potentially drop
Thoughts? @seanstory @jcger
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm outside my area of expertise, but reading the docs Jeramy linked, I see:
which reads to me like spaceId doesn't need to be in
I think we should drop
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah but then it says
Which is our case here. My understanding is we store But even then I think they represent semantically different things:
So I would think we want to keep
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From the docs
I'm also no expert here, but if AAD it's being used to encrypt, decrypt, I would think we want to keep Now, I'm unsure about this:
Regarding |
||
| 'createdAt', | ||
| 'expiresAt', | ||
| 'createdBy', | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,7 @@ export const rawOAuthStateSchema = schema.object({ | |
| redirectUri: schema.string(), | ||
| scope: schema.maybe(schema.string()), | ||
| kibanaReturnUrl: schema.string(), // in case of OAuth success, redirect to this URL | ||
| spaceId: schema.string(), // the space where the connector exists | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This SO was introduced in the feature branch for the first time, so no need to add a migration here. |
||
| createdAt: schema.string(), | ||
| expiresAt: schema.string(), | ||
| createdBy: schema.maybe(schema.string()), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.