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

feat(server): add option to customise JWT payload of accessToken #984

Merged
merged 9 commits into from
May 25, 2020

Conversation

pradel
Copy link
Member

@pradel pradel commented May 25, 2020

Fix #542
Close #883

Created from #883

@huikaihoo I created a new pull request because I was not able to push on your branch

@codecov
Copy link

codecov bot commented May 25, 2020

Codecov Report

Merging #984 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #984   +/-   ##
=======================================
  Coverage   95.19%   95.19%           
=======================================
  Files          80       80           
  Lines        1788     1791    +3     
  Branches      384      387    +3     
=======================================
+ Hits         1702     1705    +3     
  Misses         84       84           
  Partials        2        2           
Impacted Files Coverage Δ
packages/server/src/accounts-server.ts 91.03% <100.00%> (+0.20%) ⬆️
packages/server/src/utils/tokens.ts 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e4f0bb1...16d4fda. Read the comment docs.

@pradel pradel changed the title feat(server): add option to customize jwt payload of accessToken feat(server): add option to customise JWT payload of accessToken May 25, 2020
@pradel pradel merged commit 31418d2 into master May 25, 2020
@pradel pradel deleted the feature/custom-jwt-payload branch May 25, 2020 07:58
@pradel
Copy link
Member Author

pradel commented May 25, 2020

Thanks @huikaihoo, sorry that this one took so long to get merged, I will release a new version later today!

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.

Unable to set public claims for the generated user token
2 participants