Skip to content

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.

@t27duck t27duck force-pushed the credential_option branch from 227f252 to 92f5fe5 Compare May 20, 2023 12:18
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`.
@t27duck t27duck force-pushed the credential_option branch from 92f5fe5 to a7a78e3 Compare May 20, 2023 12:22
@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