What should be the Access-Control-Allow-Credentials if authorization is passed for preflight request?
up vote
-1
down vote
favorite
My webservice GET request need authentication to get the data. For OPTIONS method we do not have any authentication. Then what should be the value of Access-Control-Allow-Credentials in response if authorization is passed for preflight request OPTIONS method? Also if authentication is not passed then what should be the value?
web-services http cors
add a comment |
up vote
-1
down vote
favorite
My webservice GET request need authentication to get the data. For OPTIONS method we do not have any authentication. Then what should be the value of Access-Control-Allow-Credentials in response if authorization is passed for preflight request OPTIONS method? Also if authentication is not passed then what should be the value?
web-services http cors
add a comment |
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
My webservice GET request need authentication to get the data. For OPTIONS method we do not have any authentication. Then what should be the value of Access-Control-Allow-Credentials in response if authorization is passed for preflight request OPTIONS method? Also if authentication is not passed then what should be the value?
web-services http cors
My webservice GET request need authentication to get the data. For OPTIONS method we do not have any authentication. Then what should be the value of Access-Control-Allow-Credentials in response if authorization is passed for preflight request OPTIONS method? Also if authentication is not passed then what should be the value?
web-services http cors
web-services http cors
asked Nov 8 at 12:06
Subhajit Pal
68119
68119
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53207417%2fwhat-should-be-the-access-control-allow-credentials-if-authorization-is-passed-f%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown