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: Change persist-tokens hook to always add token (if exists) t http requests #352

Closed
wants to merge 1 commit into from

Conversation

asafshen
Copy link
Member

Related Issues

Fixes https://github.com/descope/etc/issues/5319

Description

change web-js-sdk to always send the token if it exists

like mentioned in the issue, someone may rely on the fact that the token is also in the local storage
so we should document it clearly in RN that this may break existing code that relies on the previous buggy behavior (I don't want to bump major for this bug though)

@asafshen asafshen enabled auto-merge (squash) January 17, 2024 19:41
@dorsha
Copy link
Member

dorsha commented Jan 17, 2024

Looks good to me, @nirgur please review as well.

@nirgur
Copy link
Collaborator

nirgur commented Jan 18, 2024

I'm not sure I fully understand this change
Can we talk about it?

@asafshen
Copy link
Member Author

I'm not sure I fully understand this change

Can we talk about it?

Would love to :)

@asafshen
Copy link
Member Author

closing in favor to another solution

@asafshen asafshen closed this Jan 24, 2024
auto-merge was automatically disabled January 24, 2024 19:08

Pull request was closed

@asafshen asafshen deleted the send-token-if-exists branch January 24, 2024 19:09
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.

None yet

3 participants