Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit b7d9172

Browse files
committed
Merge pull request #529 from kwapik/fix/reauth_in_v3_tokens
[rfr] Fix reauth in v3 tokens
2 parents ff407fa + baaaf3e commit b7d9172

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

openstack/identity/v3/tokens/requests.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ type Scope struct {
1515
}
1616

1717
func subjectTokenHeaders(c *gophercloud.ServiceClient, subjectToken string) map[string]string {
18-
h := c.AuthenticatedHeaders()
19-
h["X-Subject-Token"] = subjectToken
20-
return h
18+
return map[string]string{
19+
"X-Subject-Token": subjectToken,
20+
}
2121
}
2222

2323
// Create authenticates and either generates a new token, or changes the Scope of an existing token.

0 commit comments

Comments
 (0)