Home > Net >  how to send credentials on an image with crossOrigin="use-credentials" when the http-serve
how to send credentials on an image with crossOrigin="use-credentials" when the http-serve

Time:12-07

I have an http-server that requests with Access-Control-Allow-Credentials=true (see more details enter image description here

CodePudding user response:

Browsers do not provide an API that makes that possible.

Consider using cookie based authentication (instead of Basic Auth) and redirecting through a single-sign-on style login system to set the cookies instead.

  • Related