diff --git a/liboidcagent.go b/liboidcagent.go index cbcbd05..b204a93 100644 --- a/liboidcagent.go +++ b/liboidcagent.go @@ -90,8 +90,8 @@ func parseIpcResponse(remote bool, response []byte) (res TokenResponse, err erro return } res = TokenResponse{ - Token: res.Token, - Issuer: res.Issuer, + Token: rawResponse.Token, + Issuer: rawResponse.Issuer, ExpiresAt: time.Unix(rawResponse.ExpiresAt, 0), } return