-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The new okta library doesn't prepend /api/v1 to our URL paths like th…
…e old one does (we still use the old one in the absence of an API token, since the new one doesn't support that.) Make our shim prepend /api/v1 to manual requests for the new library like the old library does, and remove explicit /api/v1 from our request paths. (#8807) (#8825)
- Loading branch information
Showing
3 changed files
with
14 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,15 @@ import ( | |
"github.com/hashicorp/vault/sdk/logical" | ||
) | ||
|
||
// To run this test, set the following env variables: | ||
// VAULT_ACC=1 | ||
// OKTA_ORG=dev-219337 | ||
// OKTA_API_TOKEN=<find in 1password> | ||
// [email protected] | ||
// OKTA_PASSWORD=<find in 1password> | ||
// | ||
// You will need to install the Okta client app on your mobile device and | ||
// setup MFA. | ||
func TestBackend_Config(t *testing.T) { | ||
defaultLeaseTTLVal := time.Hour * 12 | ||
maxLeaseTTLVal := time.Hour * 24 | ||
|
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