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: reduce the length of token #1172

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gtn1024
Copy link
Contributor

@gtn1024 gtn1024 commented Sep 30, 2022

fix: #1170

Need to test various language/framework sdk, as it may cause some problems. For example, Jackson will set null by default if property is missing.

For no null-safety languages (like Java), we need to make sure sdk construct 3-rd party properties from null string to empty string. For has null-safety languages (like TypeScript), we can add nullable to property.

sdk/example issue/pr status
casdoor-java-sdk casdoor/casdoor-java-sdk#36 ok
casdoor-go-sdk casdoor/casdoor-go-sdk#42
casdoor-js-sdk ok
casdoor-spring-boot-starter casdoor/casdoor-spring-boot-starter#21 ok
casdoor-dotnet-sdk ok
casdoor-php-sdk casdoor/casdoor-php-sdk#35
casdoor-python-sdk casdoor/casdoor-python-sdk#27
casdoor-nodejs-sdk casdoor/casdoor-nodejs-sdk#22 ok
casdoor-flutter-sdk ok
casdoor-vue-sdk ok
casdoor-android-sdk ok
casdoor-ios-sdk ok
casdoor-rust-sdk casdoor/casdoor-rust-sdk#28
casdoor-taro-sdk ok
casdoor-react-sdk ok
casdoor-angular-sdk ok
casdoor-cpp-sdk casdoor/casdoor-cpp-sdk#5
casdoor-uniapp-sdk ok
project status
casnode ok
casbin-oa

@casbin-bot
Copy link
Contributor

@seriouszyx @ComradeProgrammer @Resulte please review

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.

Reduce the size of token, especially the user object
2 participants