Skip to content
This repository was archived by the owner on Sep 8, 2025. It is now read-only.

Commit 0c1fddb

Browse files
fall back to result type if no explicit browser result has been set
1 parent 72dfdc0 commit 0c1fddb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AuthorizeClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public async Task<AuthorizeResult> AuthorizeAsync(AuthorizeRequest request, Canc
6868
return result;
6969
}
7070

71-
result.Error = browserResult.Error;
71+
result.Error = browserResult.Error ?? browserResult.ResultType.ToString();
7272
return result;
7373
}
7474

0 commit comments

Comments
 (0)