Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow credentials option to be set #57

Merged
merged 1 commit into from
May 22, 2023

Conversation

t27duck
Copy link
Contributor

@t27duck t27duck commented May 20, 2023

Closes #55

Right now, the credentials option for the request object is locked to same-origin. omit and include are two additional valid options.

This allows the user to set the value through the options object. If not set, we still default to same-origin.

Right now, the credentials option for the request object is locked to `same-origin`. `omit` and `include` are two additional valid options.

This allows the user to set the value through the options object. If not set, we still default to `same-origin`.
@marcelolx marcelolx merged commit 9a50dd8 into rails:main May 22, 2023
@marcelolx
Copy link
Collaborator

Thank you for working on this @t27duck!

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.

Ability to set the option 'credentials'
2 participants