Skip to content

Commit fe14bcd

Browse files
committed
nit
1 parent df4d2a8 commit fe14bcd

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

custom-authentication/single-connection/cognito-implicit-example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ function App() {
1818
authConnection: AUTH_CONNECTION.CUSTOM,
1919
authConnectionId: "w3a-cognito-demo",
2020
extraLoginOptions: {
21-
clientId: import.meta.env.VITE_COGNITO_CLIENT_ID,
21+
clientId: "2upuksfh6n0n5c0nciirc1bdrv",
2222
domain: "https://shahbaz-web3auth.auth.ap-south-1.amazoncognito.com",
2323
verifierIdField: "email",
2424
response_type: "token",

custom-authentication/single-connection/cognito-implicit-example/vite.config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { defineConfig } from "vite";
55
// https://vitejs.dev/config/
66
export default defineConfig({
77
plugins: [react()],
8+
server: {
9+
port: 3000,
10+
},
811
// alias are only to be added when absolutely necessary, these modules are already present in the browser environment
912
// resolve: {
1013
// alias: {

other/server-side-verification-example/app/web3authContext.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { WEB3AUTH_NETWORK, type Web3AuthOptions } from "@web3auth/modal";
33
// IMP END - Quick Start
44

55
// IMP START - Dashboard Registration
6-
const clientId = process.env.NEXT_PUBLIC_WEB3AUTH_CLIENT_ID || ""; // get from https://dashboard.web3auth.io
6+
const clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ"; // get from https://dashboard.web3auth.io
77
// IMP END - Dashboard Registration
88

99
// IMP START - Instantiate SDK

0 commit comments

Comments
 (0)