Change header name

This commit is contained in:
prince-melvin 2021-05-10 15:04:36 +05:30
parent 9d087603f2
commit 3f975235b1
3 changed files with 2 additions and 5 deletions

View File

@ -445,7 +445,7 @@ func getXAuthRequestAccessTokenHeader() Header {
func getXAuthIntrospectResponseHeaders() Header {
return Header{
Name: "X-Auth-Introspect-Response",
Name: "X-Auth-Introspect-Value",
Values: []HeaderValue{
{
ClaimSource: &ClaimSource{

View File

@ -435,7 +435,7 @@ var _ = Describe("Legacy Options", func() {
}
xAuthIntrospectResponse := Header{
Name: "X-Auth-Introspect-Response",
Name: "X-Auth-Introspect-Value",
PreserveRequestValue: false,
Values: []HeaderValue{
{

View File

@ -68,9 +68,6 @@ func (s *SessionState) String() string {
if len(s.Groups) > 0 {
o += fmt.Sprintf(" groups:%v", s.Groups)
}
if s.IntrospectClaims != "" {
o += fmt.Sprintf(" Introspection Claims:%s", s.IntrospectClaims)
}
return o + "}"
}