From 03b6d6d5cb1c7d2faf55419158504dccd79f1137 Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Fri, 22 Nov 2024 15:22:50 +0700 Subject: [PATCH 1/2] add firebase setup links for SFA and MPC Core Kit --- .../react_native/stepContent/index.ts | 2 +- .../mpc_core_kit/web/stepContent/index.ts | 2 +- .../builder/sfa/android/stepContent/index.ts | 2 +- .../builder/sfa/flutter/stepContent/index.ts | 2 +- .../builder/sfa/ios/stepContent/index.ts | 2 +- .../sfa/react_native/stepContent/index.ts | 2 +- .../builder/sfa/web/stepContent/index.ts | 2 +- .../commonSteps/createFirebaseVerifier.mdx | 31 +++++++++++++++++++ 8 files changed, 38 insertions(+), 7 deletions(-) create mode 100644 src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx diff --git a/src/pages/quick-start/builder/mpc_core_kit/react_native/stepContent/index.ts b/src/pages/quick-start/builder/mpc_core_kit/react_native/stepContent/index.ts index d4254bbf9..2649ef587 100644 --- a/src/pages/quick-start/builder/mpc_core_kit/react_native/stepContent/index.ts +++ b/src/pages/quick-start/builder/mpc_core_kit/react_native/stepContent/index.ts @@ -1,7 +1,7 @@ import * as angularBundlerIssues from "../../../../commonSteps/angularBundlerIssues.mdx"; import * as authProviderLogin from "../../../../commonSteps/authProviderLogin.mdx"; import * as blockchainCalls from "../../../../commonSteps/blockchainCalls.mdx"; -import * as createVerifier from "../../../../commonSteps/createVerifier.mdx"; +import * as createVerifier from "../../../../commonSteps/createFirebaseVerifier.mdx"; import * as getUserInfo from "../../../../commonSteps/getUserInfo.mdx"; import * as reactBundlerIssues from "../../../../commonSteps/reactBundlerIssues.mdx"; import * as registerApp from "../../../../commonSteps/registerApp.mdx"; diff --git a/src/pages/quick-start/builder/mpc_core_kit/web/stepContent/index.ts b/src/pages/quick-start/builder/mpc_core_kit/web/stepContent/index.ts index 9d9bdfb15..9a13a558a 100644 --- a/src/pages/quick-start/builder/mpc_core_kit/web/stepContent/index.ts +++ b/src/pages/quick-start/builder/mpc_core_kit/web/stepContent/index.ts @@ -1,7 +1,7 @@ import * as angularBundlerIssues from "../../../../commonSteps/angularBundlerIssues.mdx"; import * as authProviderLogin from "../../../../commonSteps/authProviderLogin.mdx"; import * as blockchainCalls from "../../../../commonSteps/blockchainCalls.mdx"; -import * as createVerifier from "../../../../commonSteps/createVerifier.mdx"; +import * as createVerifier from "../../../../commonSteps/createFirebaseVerifier.mdx"; import * as getUserInfo from "../../../../commonSteps/getUserInfo.mdx"; import * as reactBundlerIssues from "../../../../commonSteps/reactBundlerIssues.mdx"; import * as registerApp from "../../../../commonSteps/registerApp.mdx"; diff --git a/src/pages/quick-start/builder/sfa/android/stepContent/index.ts b/src/pages/quick-start/builder/sfa/android/stepContent/index.ts index c3f72fb70..e65683a19 100644 --- a/src/pages/quick-start/builder/sfa/android/stepContent/index.ts +++ b/src/pages/quick-start/builder/sfa/android/stepContent/index.ts @@ -1,4 +1,4 @@ -import * as createVerifier from "../../../../commonSteps/createVerifier.mdx"; +import * as createVerifier from "../../../../commonSteps/createFirebaseVerifier.mdx"; import { toSteps } from "../../../../utils"; import * as initialization from "./initialize.mdx"; import * as authProviderLogin from "../../../../commonSteps/authProviderLogin.mdx"; diff --git a/src/pages/quick-start/builder/sfa/flutter/stepContent/index.ts b/src/pages/quick-start/builder/sfa/flutter/stepContent/index.ts index bb45e9ea3..d8b04bd65 100644 --- a/src/pages/quick-start/builder/sfa/flutter/stepContent/index.ts +++ b/src/pages/quick-start/builder/sfa/flutter/stepContent/index.ts @@ -4,7 +4,7 @@ import * as requirementsAndroid from "./requirementsAndroid.mdx"; import * as authProviderLogin from "../../../../commonSteps/authProviderLogin.mdx"; import * as requirementsIOS from "./requirementsIOS.mdx"; import * as installation from "./installation.mdx"; -import * as createVerifier from "../../../../commonSteps/createVerifier.mdx"; +import * as createVerifier from "../../../../commonSteps/createFirebaseVerifier.mdx"; import * as initialization from "./initialize.mdx"; import * as login from "./login.mdx"; diff --git a/src/pages/quick-start/builder/sfa/ios/stepContent/index.ts b/src/pages/quick-start/builder/sfa/ios/stepContent/index.ts index 390d2cfa0..e8ed8775f 100644 --- a/src/pages/quick-start/builder/sfa/ios/stepContent/index.ts +++ b/src/pages/quick-start/builder/sfa/ios/stepContent/index.ts @@ -1,5 +1,5 @@ import { toSteps } from "../../../../utils"; -import * as createVerifier from "../../../../commonSteps/createVerifier.mdx"; +import * as createVerifier from "../../../../commonSteps/createFirebaseVerifier.mdx"; import * as authProviderLogin from "../../../../commonSteps/authProviderLogin.mdx"; import * as initialization from "./initialize.mdx"; import * as installation from "./installation.mdx"; diff --git a/src/pages/quick-start/builder/sfa/react_native/stepContent/index.ts b/src/pages/quick-start/builder/sfa/react_native/stepContent/index.ts index 6627a234e..8a64e9760 100644 --- a/src/pages/quick-start/builder/sfa/react_native/stepContent/index.ts +++ b/src/pages/quick-start/builder/sfa/react_native/stepContent/index.ts @@ -1,4 +1,4 @@ -import * as createVerifier from "../../../../commonSteps/createVerifier.mdx"; +import * as createVerifier from "../../../../commonSteps/createFirebaseVerifier.mdx"; import * as authProviderLogin from "../../../../commonSteps/authProviderLogin.mdx"; import * as getUserInfo from "../../../../commonSteps/getUserInfo.mdx"; import * as reactNativeBundlerIssues from "../../../../commonSteps/reactNativeBundlerIssues.mdx"; diff --git a/src/pages/quick-start/builder/sfa/web/stepContent/index.ts b/src/pages/quick-start/builder/sfa/web/stepContent/index.ts index f3e5339ea..95246b682 100644 --- a/src/pages/quick-start/builder/sfa/web/stepContent/index.ts +++ b/src/pages/quick-start/builder/sfa/web/stepContent/index.ts @@ -1,7 +1,7 @@ import * as angularBundlerIssues from "../../../../commonSteps/angularBundlerIssues.mdx"; import * as authProviderLogin from "../../../../commonSteps/authProviderLogin.mdx"; import * as blockchainCalls from "../../../../commonSteps/blockchainCalls.mdx"; -import * as createVerifier from "../../../../commonSteps/createVerifier.mdx"; +import * as createVerifier from "../../../../commonSteps/createFirebaseVerifier.mdx"; import * as getUserInfo from "../../../../commonSteps/getUserInfo.mdx"; import * as reactBundlerIssues from "../../../../commonSteps/reactBundlerIssues.mdx"; import * as registerApp from "../../../../commonSteps/registerApp.mdx"; diff --git a/src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx b/src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx new file mode 100644 index 000000000..e22f9deef --- /dev/null +++ b/src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx @@ -0,0 +1,31 @@ +--- +title: Setting up your Firebase Verifier +--- + +import VerifierDashboard from "@site/static/images/dashboard/create-verifier.png"; + +One of the prerequisites of using this SDK, is the creation of a custom verifier. This can be done +easily by setting up custom authentication in your Web3Auth Dashboard. In this guide, we will be +using Firebase as our Auth Provider. + +:::info + +Read more about +[Firebase Verifier Creation](/auth-provider-setup/authentication-service-providers/firebase-service-provider#create-a-firebase-verifier) + +::: + +Verifier Modal on Web3Auth Dashboard + + + Go to Developer Dashboard + From 884159cc82edd5892e5c3cc5a3eb08034d96d76f Mon Sep 17 00:00:00 2001 From: AyushBherwani1998 Date: Sun, 15 Dec 2024 22:29:04 +0530 Subject: [PATCH 2/2] resolve review comments --- .../quick-start/commonSteps/createFirebaseVerifier.mdx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx b/src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx index e22f9deef..cb52e83bc 100644 --- a/src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx +++ b/src/pages/quick-start/commonSteps/createFirebaseVerifier.mdx @@ -4,9 +4,10 @@ title: Setting up your Firebase Verifier import VerifierDashboard from "@site/static/images/dashboard/create-verifier.png"; -One of the prerequisites of using this SDK, is the creation of a custom verifier. This can be done -easily by setting up custom authentication in your Web3Auth Dashboard. In this guide, we will be -using Firebase as our Auth Provider. +To get started with this SDK, you'll need to create a custom verifier. Don't worry, it's a simple +process! You can set it up quickly by enabling custom authentication in your Web3Auth Dashboard. In +this guide, we'll be using Firebase as our Auth Provider to make everything seamless and +straightforward. :::info