mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-09-20 06:54:20 +00:00
Rename X-Pinniped-Idp-* headers to Pinniped-*
See RFC6648 which asks that people stop using `X-` on header names. Also Matt preferred not mentioning "IDP" in the header name. Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
@@ -464,8 +464,8 @@ func requestAuthorizationUsingLDAPIdentityProvider(t *testing.T, downstreamAutho
|
||||
require.NoError(t, err)
|
||||
|
||||
// Set the custom username/password headers for the LDAP authorize request.
|
||||
authRequest.Header.Set("X-Pinniped-Idp-Username", upstreamUsername)
|
||||
authRequest.Header.Set("X-Pinniped-Idp-Password", upstreamPassword)
|
||||
authRequest.Header.Set("Pinniped-Username", upstreamUsername)
|
||||
authRequest.Header.Set("Pinniped-Password", upstreamPassword)
|
||||
|
||||
authResponse, err := httpClient.Do(authRequest)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in New Issue
Block a user