-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make client authorizations tolerant of UID changes
This change makes it so that if an OAuthClientAuthorization references a user with the wrong UID, that client authorization is deleted. This UID mismatch is caused by the deletion and recreation of users. Thus this makes it so that the "new" user is unaffected by the "old" user's client authorization. The new user simply goes through the grant flow just as if no client authorization existed. Signed-off-by: Monis Khan <mkhan@redhat.com>
- Loading branch information
Showing
3 changed files
with
185 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
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
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