-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JWT token mananger now returns the hash of the token
- Loading branch information
Showing
2 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Enhancement: JWT token mananger now returns the hash of the token | ||
|
||
We encode the complete CS3APIs user object along with the scopes the user has | ||
access to in the JWT token. In case the list of scopes is long or the user | ||
belongs to a lot of groups, the token size got pretty big previously, and for | ||
use-cases where we needed to pass it as a URI parameter, led to server limits | ||
on the size of the URI being hit. Now we cache the token return its hash, which | ||
makes the size of the token constant. | ||
|
||
https://github.com/cs3org/reva/pull/1935 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters