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

[SDK-3582] Use form-encoded data by default #945

Merged
merged 7 commits into from
Aug 16, 2022
Merged

[SDK-3582] Use form-encoded data by default #945

merged 7 commits into from
Aug 16, 2022

Conversation

ewanharris
Copy link
Contributor

Changes

Updates the useFormData property to now default to true. Consequently, updates any tests where useFormData: true was previously set to now use the default, and sets useFormData: false where the assertions on the testcase indicate it should be.

Checklist

@ewanharris ewanharris requested a review from a team as a code owner August 8, 2022 14:59
src/global.ts Outdated Show resolved Hide resolved
src/Auth0Client.ts Outdated Show resolved Hide resolved
src/global.ts Outdated
Comment on lines 253 to 254
* **Note:** If you are using Auth0 rules and are sending custom, non-primitive data make sure to verify that your Auth0 Rules continue to work as expected. If they do not,
* then set this to `false`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this was discussed in an earlier review, but seeing this now makes me wonder if this note should be rephrased still, or left out alltogether.

It used to be a note that referred to anyone touching this value. Which means, as long as people didnt change the value of useFormData, the note was irrelevant.

Now, the note is relevant to anyone not setting the value instead.

I think we can drop the note, but ensure we call it out in the migration guide before we release v2. What do you think?

@ewanharris ewanharris merged commit 0482cb6 into v2 Aug 16, 2022
@ewanharris ewanharris deleted the feat/SDK-3582 branch August 16, 2022 10:45
@frederikprijck frederikprijck mentioned this pull request Oct 25, 2022
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