0
velu created
Hi,
We are using .netcore 2.2
we found that enc auth token cookies value is always null, [ws://localhost:22742/signalr?encauthtoken=null&id=138wrZbP_tlDuEZCSNtsng]
CAUSE: Cookies value is larger than value limit [4096 Bytes].
how can we solve this.
Thanks
1 Answer(s)
-
0
hi
It may be that your claims contain too much information, which leads to a long content of jwt token.
You can consider storing the token in the browser's localStorage.
Use
LocalStorageService
instead ofUtilsService
.We will also consider making the same change in zero. https://github.com/aspnetzero/aspnet-zero-core/issues/3301