Comments (5)
@tangyang9464 @JalinWang @imp2002
from casdoor.
@nemirlev why don't you just use the permissions property inside the JWT? I think the JWT already contains permissions by default? See:
Lines 363 to 387 in 57431a5
If you are using "JWT" format option, you already have:
Lines 242 to 244 in 57431a5
from casdoor.
@hsluoyz Hello.
Because the token is transferred from the client to the server. It is stored in cookies, and this is a problem. There is a size limit. We can use roles instead, and we will solve this problem, but then we will not have atomicity.
from casdoor.
You should store it in local storage then
from casdoor.
@hsluoyz It's not safe.
from casdoor.
Related Issues (20)
- error on line 14 at column 168: Attribute xmlns redefined HOT 6
- frontend: add back button in forget password page HOT 1
- java-sdk has no method about policy HOT 3
- Invitation code is mandatory and Github providers automatic registration not be restricted HOT 1
- feature: add frontend pages (list page and edit page) for VerificationRecord HOT 1
- feature: add response to Records page HOT 1
- OVHCloud SMTP email issue HOT 9
- Unable to Retrieve Associated Users with getGroups HOT 5
- custom attributes for the user table HOT 4
- feature: support MetaMask third-party login for mobile browser too in Casdoor HOT 1
- "fs" Module Not Found Error in Browser with face-api.js HOT 3
- missing parameter in IntrospectToken HOT 1
- does the username support case insensitive? HOT 4
- Unable to log out account from dashboard. HOT 4
- Optimizing Signin Logic for Enhanced User Experience HOT 4
- When using CAS protocol login will prompt password error HOT 3
- using one application for several organizations HOT 6
- The mfa is not work in My Acount page HOT 6
- Please add linux/arm64 architecture to current docker images. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casdoor.