fix: ZodError in auth/oauth/authorize (#12877)
Co-authored-by: CarinaWolli <[email protected]>
This commit is contained in:
1 parent
260bd4829c
commit
f0bd628713
1 file changed
+1
-1
@@ -18,7 +18,7 @@ export default function Authorize() {
|
||||
const router = useRouter();
|
||||
const searchParams = useCompatSearchParams();
|
||||
|
||||
const client_id = searchParams?.get("client_id") as string;
|
||||
const client_id = (searchParams?.get("client_id") as string) || "";
|
||||
const state = searchParams?.get("state") as string;
|
||||
const scope = searchParams?.get("scope") as string;
|
||||
|
||||
|
||||
Reference in new issue
Block a user