File tree Expand file tree Collapse file tree
src/main/scala/com/tesobe/oidc/endpoints Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -440,7 +440,7 @@ class TokenEndpoint(
440440 )
441441 response <- Ok (tokenResponse.asJson)
442442 .map(
443- _.withHeaders (
443+ _.putHeaders (
444444 Header .Raw (CIString (" Cache-Control" ), " no-store" ),
445445 Header .Raw (CIString (" Pragma" ), " no-cache" )
446446 )
@@ -581,7 +581,7 @@ class TokenEndpoint(
581581
582582 response <- Ok (tokenResponse.asJson)
583583 .map(
584- _.withHeaders (
584+ _.putHeaders (
585585 Header .Raw (CIString (" Cache-Control" ), " no-store" ),
586586 Header .Raw (CIString (" Pragma" ), " no-cache" )
587587 )
@@ -652,7 +652,7 @@ class TokenEndpoint(
652652
653653 response <- Ok (tokenResponse.asJson)
654654 .map(
655- _.withHeaders (
655+ _.putHeaders (
656656 Header .Raw (CIString (" Cache-Control" ), " no-store" ),
657657 Header .Raw (CIString (" Pragma" ), " no-cache" )
658658 )
You can’t perform that action at this time.
0 commit comments