Skip to content

Fix where clause of `OpenIddictEntityFrameworkCoreAuthorizationStore#FindByApplicationIdAsync#2238

Merged
kevinchalet merged 1 commit intoopeniddict:devfrom
simon-wacker:fix-where-clause-when-finding-authorizations-by-application-id
Dec 20, 2024
Merged

Fix where clause of `OpenIddictEntityFrameworkCoreAuthorizationStore#FindByApplicationIdAsync#2238
kevinchalet merged 1 commit intoopeniddict:devfrom
simon-wacker:fix-where-clause-when-finding-authorizations-by-application-id

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
@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