Idsvr will generate lots of temporary cookies for each call by OpenId
I did a testing for OpenId in Chrome: I have the IdSvr(localhost:5000), and I give two tabs in browser, one is MVCClient(localhost:5002), other is whatever(like google.com), first I type into the Url localhost:5002 in a tab and not enter, and then I switch to the other tab, then I switch these two tabs frequently, the temporary cookies(oidc & Nonce) will be generated for each switch.
Eventually it will form a huge cookie list, so that the client-side will bring a very long head that cannot be transferred.
Even these temporary cookies cannot be removed when login successfully.
NOTE: Chrome provided a mechanism to pre-request before enter Url.

Bad Request - Request Too Long
HTTP Error 400. The size of the request headers is too long.
If you don't complete the authentication protocol handshake then these cookies will be orphaned, as you have seen. Why you're not completing the processing is unknown.
Please reproduce by my steps(Use Chrome). You will find the root cause. So far maybe we cannot fix this issue.
Chrome provided a mechanism to pre-request before the real request occured.
This sounds like an issue in Chrome and the Microsoft OIDC middleware and has nothing to do with IdentityServer.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.