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

fix: send cookie for all authn related requests #995

Closed
wants to merge 3 commits into from

Conversation

shuowu
Copy link
Contributor

@shuowu shuowu commented Nov 2, 2021

No description provided.

lib/tx/api.ts Outdated
@@ -69,6 +69,10 @@ function transactionExists(sdk) {
}

function postToTransaction(sdk, url, args, options?) {
options = {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why don't we just put the change here (instead of the other places):

options = Object.assign({ withCredentials: true}, options)

Then the caller can pass { withCredentials: false } to disable

eng-prod-CI-bot-okta pushed a commit that referenced this pull request Nov 3, 2021
OKTA-426402
<<<Jenkins Check-In of Tested SHA: da8d229 for eng_productivity_ci_bot_okta@okta.com>>>
Artifact: okta-auth-js
Files changed count: 6
PR Link: "#995"
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.

3 participants