Skip to content

Commit

Permalink
fix: account JWT claim
Browse files Browse the repository at this point in the history
  • Loading branch information
braginini committed Feb 15, 2022
1 parent 97e4f9a commit 765d3a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion management/server/http/handler/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func extractClaimsFromRequestContext(r *http.Request, authAudiance string) JWTCl
}
domainClaim, ok := claims[authAudiance+"wt_user_domain"]
if ok {
jwtClaims.AccountId = domainClaim.(string)
jwtClaims.Domain = domainClaim.(string)
}
return jwtClaims
}
Expand Down

0 comments on commit 765d3a0

Please sign in to comment.