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

Fix where clause of `OpenIddictEntityFrameworkCoreAuthorizationStore#FindByApplicationIdAsync #2238

Conversation

simon-wacker
Copy link
Contributor

Before that fix, when OppenIddict was configured with a custom application id type like Guid, the where-clause sent to the database was literally where False, because the type of application.Id was incompatible with the type of the erroneously used variable identifier.

…FindByApplicationIdAsync`

Before that fix, when OppenIddict was configured with a custom
application id type like `Guid`, the where-clause sent to the database
was literally `where False`, because the type of `application.Id` was
incompatible with the type of the erroneously used variable
`identifier`.
@kevinchalet
Copy link
Member

Thanks for your PR!

Nice catch, I'll make sure it ships as part of the next 6.x release (likely a patch version).

@kevinchalet kevinchalet merged commit ea7a9e2 into openiddict:dev Dec 20, 2024
6 checks passed
@simon-wacker simon-wacker deleted the fix-where-clause-when-finding-authorizations-by-application-id branch December 20, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants