-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Workplace Search] Refactor oauth redirect to persist state params fr…
…om plugin (#90067) (#90228) * Add routes Also adds validation for the Kibana way of handling query params * Add route for oauth params * Add logic to save oauth redirect query params * Refactor source added template to keep all logic in logic file * Add tests for component and logic * Add optional param to interface Atlassian flows may also send back an oauth_verifier param that we’ll need. This was added to the server validation, but I forgot to add it to the interface * Remove failing test This was not needed for coverage and it appears that the helper doesn’t validate query params so removing it * Remove index_permissions from account params * Rename variable * Update param syntax * Update account route test * Refactor params
- Loading branch information
1 parent
8360eab
commit 128d84f
Showing
7 changed files
with
319 additions
and
89 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.