-
Notifications
You must be signed in to change notification settings - Fork 364
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-1418] Advanced option to clear transaction cookies on redirect #436
Conversation
This allows it to me mocked or unmocked separately from utils. index.test.ts has been completely refactored to use an unmocked version and the expectations have changed as a result.
Docs build to follow in the release PR
This PR is currently based on |
I have a couple of concerns
#387 Redirecting users from within rules which messed with the #319 This is a login loop as well (from the screenshot I estimate a new transaction every 300ms) and they have a custom property in their state For both these customers, if they had added the
That said, I don't have a better solution than finding and fixing the customers underlying issue and telling them to tell their users to clear their cookies - which I know is not very satisfactory... |
Closing this in favor of a different approach. |
Description
This PR adds an advanced option to clear transaction cookies on authorization redirect. The default value is
false
.Usage:
References
Fixes #319
Testing
Checklist
master