Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Always catch OCP versions of authentication exceptions #42640

Merged
merged 5 commits into from Jan 11, 2024

Conversation

come-nc
Copy link
Contributor

@come-nc come-nc commented Jan 8, 2024

Summary

Always catch OCP versions of authentication exceptions.
And always throw OC versions for BC.

Alternative to #42577 and #42579 which simply fix internal uses instead of trying to fix back OC Exceptions inheritance.

Checklist

@come-nc come-nc added the 2. developing Work in progress label Jan 8, 2024
@come-nc come-nc self-assigned this Jan 8, 2024
@come-nc come-nc added this to the Nextcloud 29 milestone Jan 8, 2024
@come-nc come-nc added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jan 8, 2024
@come-nc
Copy link
Contributor Author

come-nc commented Jan 8, 2024

/backport to stable28

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Seems okay otherwise

Copy link
Member

@ChristophWurst ChristophWurst left a comment

Choose a reason for hiding this comment

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

Looks good and preferable over the alternatives

And always throw OC versions for BC

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc force-pushed the fix/fix-authentication-exceptions-2 branch from 0064671 to 37a6e15 Compare January 11, 2024 13:02
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
@come-nc come-nc merged commit f789732 into master Jan 11, 2024
50 checks passed
@come-nc come-nc deleted the fix/fix-authentication-exceptions-2 branch January 11, 2024 17:51
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: NextCloud 28 seems to be handling the Oauth authentication wrongly.
3 participants