From 51ee8a250060514761933be338495c42141587ef Mon Sep 17 00:00:00 2001 From: Eduard Voiculescu Date: Thu, 16 May 2024 16:07:05 -0400 Subject: [PATCH] Update options.go Adding `AllowCredentials` and setting it to true for the `permissiveCors` --- server/options.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/options.go b/server/options.go index 1cd5bfd..5f5824a 100644 --- a/server/options.go +++ b/server/options.go @@ -129,6 +129,7 @@ func WithConnectPermissiveCORS() Option { "Grpc-Status-Details-Bin", }, MaxAge: int(2 * time.Hour / time.Second), + AllowCredentials: true, }) }