fix: SAML: invalid_code issue, missing user error signing up (#15522)

* fix: Error thrown due to missing user

* chore: Remove unnecessary logs

* fix: Remove PageWrapper in order to prevent double signIn

* Change profile typing to optional

* further type fix

* further type fix..
This commit is contained in:
Alex van Andel authored and GitHub committed 2024-06-24 14:53:23 +00:00
1 parent 7b69a6ab9c
commit dbf4be27ea
5 files changed
+4 -10

No files matched your search

-3
View File
@@ -3,8 +3,6 @@ import { useEffect } from "react";
import { useCompatSearchParams } from "@calcom/lib/hooks/useCompatSearchParams";
import PageWrapper from "@components/PageWrapper";
// To handle the IdP initiated login flow callback
export default function Page() {
const searchParams = useCompatSearchParams();
@@ -21,4 +19,3 @@ export default function Page() {
return null;
}
Page.PageWrapper = PageWrapper;