16212: Fix propagation of logout redirect target.
authorTom Clegg <tom@tomclegg.ca>
Tue, 31 Mar 2020 17:08:32 +0000 (13:08 -0400)
committerTom Clegg <tom@tomclegg.ca>
Tue, 31 Mar 2020 17:08:32 +0000 (13:08 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@tomclegg.ca>

sdk/go/arvados/login.go

index 9178cc6a272dd9d2f7cc56b0ea293f13fa9f050a..ab7637546289a659651c9648907b0558cfe1c064 100644 (file)
@@ -26,7 +26,7 @@ func (resp LoginResponse) ServeHTTP(w http.ResponseWriter, req *http.Request) {
 }
 
 type LogoutResponse struct {
-       RedirectLocation string
+       RedirectLocation string `json:"redirect_location,omitempty"`
 }
 
 func (resp LogoutResponse) ServeHTTP(w http.ResponseWriter, req *http.Request) {