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

[ID-1099]getUser will get new token when existed token expired. #913

Merged
merged 7 commits into from
Oct 3, 2023

Conversation

carmen0208
Copy link
Contributor

Summary

Why the changes

Things worth calling out

Before submitting the PR, please consider the following:

  • Prefix your PR title with feat: , fix: , chore: , docs:, or refactor:.

@carmen0208 carmen0208 changed the title [ID-1099]get user will get new token when existed token expired. [ID-1099]getUser will get new token when existed token expired. Sep 28, 2023
packages/passport/sdk/src/token.ts Show resolved Hide resolved
packages/passport/sdk/src/authManager.ts Show resolved Hide resolved
packages/passport/sdk/src/authManager.ts Outdated Show resolved Hide resolved
packages/passport/sdk/src/authManager.ts Outdated Show resolved Hide resolved
packages/passport/sdk/src/authManager.ts Outdated Show resolved Hide resolved
@carmen0208 carmen0208 marked this pull request as ready for review October 3, 2023 03:05
@carmen0208 carmen0208 requested a review from a team as a code owner October 3, 2023 03:05
@@ -28,6 +28,7 @@
"@swc/jest": "^0.2.24",
Copy link
Contributor

Choose a reason for hiding this comment

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

We'll also need to add this devDependency to packages/passport/package.json (seems as though jwt-decode was somehow missed 🤔)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

might be because it already included in yarn.lock: https://github.com/immutable/ts-immutable-sdk/blob/main/yarn.lock#L21022

I will add the package json anyway. would be in dependency thought as the code need to be run within the build sdk.

@carmen0208 carmen0208 enabled auto-merge (squash) October 3, 2023 04:26
@carmen0208 carmen0208 merged commit 9b9b05a into main Oct 3, 2023
6 checks passed
@carmen0208 carmen0208 deleted the feature/ID-1099-get-user-not-return-expired-user branch October 3, 2023 04:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants