Skip to content

fix: default credentials to same-origin#55

Merged
developit merged 1 commit intodevelopit:masterfrom
dhruvdutt:patch-1
Sep 1, 2020
Merged

fix: default credentials to same-origin#55
developit merged 1 commit intodevelopit:masterfrom
dhruvdutt:patch-1

Conversation

@dhruvdutt
Copy link
Copy Markdown
Contributor

@dhruvdutt dhruvdutt commented Aug 28, 2020

Even though based on docs it's default for most browsers, some browsers don't pass same-origin as default and not sending same origin cookies in fetch requests. The fix passes same-origin by default explicitly in fetch.

References:

image


image

@dhruvdutt dhruvdutt changed the title fix: default credentials to same-site fix: default credentials to same-origin Aug 28, 2020
@dhruvdutt
Copy link
Copy Markdown
Contributor Author

@developit Please review.

@developit
Copy link
Copy Markdown
Owner

Seems like only Safari<12 in that list would have any usage. Still, probably worth including this fix.

@developit developit merged commit d9b33f2 into developit:master Sep 1, 2020
@dhruvdutt dhruvdutt deleted the patch-1 branch September 12, 2020 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants