From 6a735fe4a8dd9e3709ebfc0b0cf09a0037a3bd7f Mon Sep 17 00:00:00 2001 From: Afra Hussaindeen Date: Sun, 29 Sep 2024 17:49:29 +0530 Subject: [PATCH] Fixed review comments --- samples/react-sample-app/README.md | 2 +- samples/react-sample-app/babel.config.js | 4 ++-- samples/react-sample-app/public/index.html | 2 +- samples/react-sample-app/src/.eslintrc.js | 4 ++-- samples/react-sample-app/src/ConfigContext.tsx | 2 +- samples/react-sample-app/src/ErrorBoundary.tsx | 2 +- .../src/api/identity-verification-client.ts | 2 +- samples/react-sample-app/src/app.css | 4 ++-- samples/react-sample-app/src/app.tsx | 2 +- .../src/components/AgeVerificationDrawer.tsx | 2 +- samples/react-sample-app/src/components/Footer.tsx | 2 +- samples/react-sample-app/src/components/LoadingSpinner.tsx | 2 +- samples/react-sample-app/src/components/NavBar.tsx | 2 +- samples/react-sample-app/src/components/Plans.tsx | 2 +- samples/react-sample-app/src/config-loader.ts | 2 +- samples/react-sample-app/src/constants/idv-constants.ts | 2 +- samples/react-sample-app/src/model/identity-verification.ts | 2 +- samples/react-sample-app/src/model/insurance-plan.ts | 2 +- .../src/pages/AuthenticationFailurePage.tsx | 2 +- samples/react-sample-app/src/pages/GenericErrorPage.tsx | 2 +- samples/react-sample-app/src/pages/HomePage.tsx | 2 +- .../react-sample-app/src/pages/InvalidSystemTimePage.tsx | 2 +- samples/react-sample-app/src/pages/LoginPage.tsx | 2 +- samples/react-sample-app/src/pages/NotFoundPage.tsx | 2 +- samples/react-sample-app/src/pages/SuccessPage.tsx | 2 +- .../src/pages/VerificationInProgressPage.tsx | 2 +- samples/react-sample-app/src/pages/VerifyPage.tsx | 2 +- samples/react-sample-app/src/pages/index.tsx | 2 +- samples/react-sample-app/src/types/imports.d.ts | 2 +- samples/react-sample-app/src/util/IdvProviderMessages.tsx | 2 +- samples/react-sample-app/webpack.config.js | 6 +++--- 31 files changed, 36 insertions(+), 36 deletions(-) diff --git a/samples/react-sample-app/README.md b/samples/react-sample-app/README.md index 7b58a07..8235542 100644 --- a/samples/react-sample-app/README.md +++ b/samples/react-sample-app/README.md @@ -23,7 +23,7 @@ This sample showcases the seamless integration of identity verification in a rea Follow the instructions in the [WSO2 Identity Server Documentation](https://is.docs.wso2.com/en/latest/guides/applications/register-single-page-app/) to register your application. -Ensure you add `https://localhost:3000/guardio-life/subscriptions` as a Redirect URL and also include `https://localhost:3000` under Allowed Origins. +Ensure you add `https://localhost:3000` as a Redirect URL and also include `https://localhost:3000` under Allowed Origins. ### Configuring an Onfido Identity Verification Provider in the WSO2 Identity Server Console diff --git a/samples/react-sample-app/babel.config.js b/samples/react-sample-app/babel.config.js index a899bf5..78a12b1 100644 --- a/samples/react-sample-app/babel.config.js +++ b/samples/react-sample-app/babel.config.js @@ -1,7 +1,7 @@ /** - * Copyright (c) 2024, WSO2 Inc. (http://www.wso2.org) All Rights Reserved. + * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com). * - * WSO2 Inc. licenses this file to you under the Apache License, + * WSO2 LLC. licenses this file to you under the Apache License, * Version 2.0 (the "License"); you may not use this file except * in compliance with the License. * You may obtain a copy of the License at diff --git a/samples/react-sample-app/public/index.html b/samples/react-sample-app/public/index.html index 848e2fb..184bdb2 100644 --- a/samples/react-sample-app/public/index.html +++ b/samples/react-sample-app/public/index.html @@ -1,5 +1,5 @@