(fix): read the resource indicator from the resource query param

This commit is contained in:
Chirag Aggarwal committed 2026-06-23 15:57:18 +05:30
1 parent dae2b0b9eb
commit e9d3dcfde2
1 file changed
+1 -1
@@ -118,7 +118,7 @@
prompt: params.get('prompt') ?? undefined,
maxAge: parseMaxAge(params.get('max_age')),
authorizationDetails: params.get('authorization_details') ?? undefined,
resource: params.get('resource[0]') ?? undefined
resource: params.get('resource') ?? undefined
});
if (cancelled) return;
if (result.redirectUrl) {