fix: client secret verification (for introspection) (#2825)

* fix: client secret verification (for introspection)

* revert change for ProjectIDAndOriginsByClientID
This commit is contained in:
Livio Amstutz
2021-12-10 10:25:17 +01:00
committed by GitHub
parent 43f15953c3
commit 2f7d8ca557
3 changed files with 33 additions and 4 deletions

View File

@@ -17,7 +17,7 @@ func (a *ApplicationRepo) AuthorizeClientIDSecret(ctx context.Context, clientID,
ctx, span := tracing.NewSpan(ctx)
defer func() { span.EndWithError(err) }()
app, err := a.Query.AppByOIDCClientID(ctx, clientID)
app, err := a.Query.AppByClientID(ctx, clientID)
if err != nil {
return err
}