diff --git a/src/features/dashboard/types.ts b/src/features/dashboard/types.ts index f42f573b..1a4c5615 100644 --- a/src/features/dashboard/types.ts +++ b/src/features/dashboard/types.ts @@ -37,7 +37,11 @@ const base_schema = { message: 'Your website URL cannot exceed 255 characters.', }), ) - .notRequired() + .required( + translate({ + message: 'Redirect URL is required to enable OAuth on your app.', + }), + ) .matches(urlRegex, { message: translate({ message: 'Enter a valid URL. (Example: https://www.[YourDomainName].com)', diff --git a/src/features/dashboard/update-app/AppUpdateForm/index.tsx b/src/features/dashboard/update-app/AppUpdateForm/index.tsx index 161fcbef..d2856f0c 100644 --- a/src/features/dashboard/update-app/AppUpdateForm/index.tsx +++ b/src/features/dashboard/update-app/AppUpdateForm/index.tsx @@ -76,7 +76,6 @@ const AppUpdateForm = ({ initialValues, submit, onCancel, is_loading }: TAppForm setIsAdminPopupVisible(false); setValue('admin', true, { shouldValidate: true, shouldDirty: true }); }; - return (
@@ -91,7 +90,7 @@ const AppUpdateForm = ({ initialValues, submit, onCancel, is_loading }: TAppForm {' '} + linkTo='https://developers.deriv.com' + /> .