How to fix “The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time” error January 5, 2023 by Tarik I had the same issue and I removed AllowCredentials() that fixed the issue for me.