-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not fail when uid/gid are missing
- Loading branch information
Showing
2 changed files
with
10 additions
and
13 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 |
---|---|---|
@@ -1,7 +1,8 @@ | ||
Bugfix: made uid, gid claims parsing more robust in OIDC auth provider | ||
|
||
This fix makes sure the uid and gid claims are defined at init time and that | ||
a proper error is returned in case they would be missing or invalid (i.e. not int64) | ||
when authenticating users. | ||
This fix makes sure the uid and gid claims are defined at init time, and that | ||
the necessary typecasts are performed correctly when authenticating users. | ||
A comment was added that in case the uid/gid claims are missing AND that no | ||
mapping takes place, a user entity is returned with uid = gid = 0. | ||
|
||
https://github.com/cs3org/reva/pull/2759 |
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