Skip to content

Commit eb6b233

Browse files
feedback from #987
1 parent a30fcbb commit eb6b233

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/web/src/app/oauth/authorize/components/consentScreen.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ export function ConsentScreen({
4444
setPending('approve');
4545
const result = await approveAuthorization({ clientId, redirectUri, codeChallenge, resource, state });
4646
if (!isServiceError(result)) {
47-
window.location.href = result;
4847
toast({
49-
description: `✅ Authorization approved successfully. Redirecting to ${result}...`,
48+
description: `✅ Authorization approved successfully. Redirecting...`,
5049
});
50+
window.location.href = result;
5151
} else {
5252
toast({
5353
description: `❌ Failed to approve authorization. ${result.message}`,

0 commit comments

Comments
 (0)