We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a71edc commit f5ace25Copy full SHA for f5ace25
admin-ui/plugins/auth-server/components/Clients/ClientWizardForm.js
@@ -75,6 +75,13 @@ function ClientWizardForm({
75
function toggle() {
76
setModal(!modal)
77
}
78
+ function validateFinish(){
79
+ if(formRef && formRef.current && formRef.current.values.redirectUris.length > 0){
80
+ toggle()
81
+ }else{
82
+ toast.info("Please add atleast 1 redirect URL");
83
+ }
84
85
function setId(index) {
86
return sequence[index]
87
@@ -461,7 +468,7 @@ function ClientWizardForm({
461
468
type="button"
462
469
color={`primary-${selectedTheme}`}
463
470
className="px-4 ml-2"
464
- onClick={toggle}
471
+ onClick={validateFinish}
465
472
style={applicationStyle.buttonStyle}
466
473
>
467
474
{t('actions.finish')}
0 commit comments