From 0faac8cde51b390289ad364a790f77bd1dd7bb8b Mon Sep 17 00:00:00 2001 From: Gerard Snaauw Date: Fri, 24 May 2024 12:56:06 +0200 Subject: [PATCH] revert accidental fix --- auth/api/iam/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/api/iam/api.go b/auth/api/iam/api.go index 08f6c9c33d..780c708275 100644 --- a/auth/api/iam/api.go +++ b/auth/api/iam/api.go @@ -212,7 +212,7 @@ func (r Wrapper) HandleTokenRequest(ctx context.Context, request HandleTokenRequ func (r Wrapper) Callback(ctx context.Context, request CallbackRequestObject) (CallbackResponseObject, error) { // check id in path - _, err := r.toOwnedDIDForOAuth2(ctx, request.Did) + _, err := r.toOwnedDID(ctx, request.Did)dental ch if err != nil { // this is an OAuthError already, will be rendered as 400 but that's fine (for now) for an illegal id return nil, err