Skip to content

idp: Use the UUID attribute for computing the "sub" claim - #6326

Merged
rhafer merged 2 commits into
owncloud:masterfrom
rhafer:issue/904
May 16, 2023
Merged

rhafer merged 2 commits into
owncloud:masterfrom
rhafer:issue/904

Conversation

@rhafer

@rhafer rhafer commented May 16, 2023

Copy link
Copy Markdown
Contributor

This avoids that recreating the user with the same name will create the
same "sub" claim. Even though it gets a new UUID

Fixes: #904

@update-docs

update-docs Bot commented May 16, 2023

Copy link
Copy Markdown

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@rhafer
rhafer requested a review from micbar May 16, 2023 11:27
@micbar

micbar commented May 16, 2023

Copy link
Copy Markdown
Contributor

@rhafer the real change seems to be very small.

which 3rd party libs did you bump?

@micbar

micbar commented May 16, 2023

Copy link
Copy Markdown
Contributor

Needs a changelog, otherwise it seems to be fine.

@rhafer

rhafer commented May 16, 2023

Copy link
Copy Markdown
Contributor Author

which 3rd party libs did you bump?

@micbar only libregraph/lico, but that itself bumped quite a few dependencies since with the 0.60.0 release. If you prefer I can apply the fix to lico 0.59.4, that wouldn't cause as many dependency bumps.

@rhafer

rhafer commented May 16, 2023 •

Copy link
Copy Markdown
Contributor Author

libregraph/lico#95 got merged meanwhile. I'll remove my fork and bump to lico latest master.

@rhafer
rhafer force-pushed the issue/904 branch 3 times, most recently from ab6be5e to 9736599 Compare May 16, 2023 12:56
rhafer added 2 commits May 16, 2023 15:09
This avoids that recreating the user with the same name will create the
same "sub" claim. Even though it gets a new UUID

Fixes: owncloud#904
This is need for getting this fix: libregraph/lico#95

@micbar micbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

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.

[QA] Browser session is valid for newly created user of same name

2 participants