So I'm implementing a web application using customized authentication.
The implementation now looks like (parentheses below quotes HTTP headers):
Client: (Authorization: <Username>:<Password>)
Server: (Authentication-Info: nextnonce=<signed token>)
Client: (Authorization: Bearer <signed token>) client includes this for all following communication
This works perfectly with the mobile app client, before I ran into a huge mass of CORS configuration in the web client.
I noticed that Chrome refused to get Authentication-Info header unless I adds it to the Access-Control-Expose-Headers header. And the value of Access-Control-Allow-Credentials doesn't matter at all. While the document says that the Credentials includes "HTTP authentication".
So what's the point of Access-Control-Allow-Credentials here. Is my understanding of "HTTP authentication" wrong? And is my implementation of this app look good so far?
BTW, I've read this answer. But it doesn't explain this clearly i think.