-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Support form_post mode form_post is not a commonly used mode but is needed for certain applications. Adding support for it impacted both the CLI and UI handler, as well as Vault (hashicorp/vault#8325). In addition to allowing configuration of `response_mode=form_post`, the operator can now also choose to configure `response_types`, which today is always `code`. This PR allows adding the `id_token` type as well. This is only supported if form_post is enabled. A curious aspect of this PR is to respond with some Javascript that writes to localStorage. This is a effectively doing what the UI does after a redirect, and allows the form_post support without modifying the UI code at all. There are cleaner options, but they would require a significant update to the UI.
- Loading branch information
Jim Kalafut
authored
Feb 15, 2020
1 parent
026b6c9
commit 8de6d19
Showing
59 changed files
with
12,802 additions
and
606 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
Oops, something went wrong.