Skip to content

Commit 8e7f5d5

Browse files
authored
fix: store raw token in context (#1829)
Signed-off-by: Miguel Martinez <[email protected]>
1 parent 319b2a5 commit 8e7f5d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/controlplane/internal/usercontext/attjwtmiddleware/attmiddleware.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ func WithJWTMulti(l log.Logger, opts ...JWTOption) middleware.Middleware {
255255
ctx = newJWTAuthContext(ctx, JWTAuthContext{
256256
Claims: claims,
257257
ProviderKey: FederatedProviderKey,
258+
Token: jwtToken,
258259
})
259260

260261
return handler(ctx, req)

0 commit comments

Comments
 (0)