We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ade415 commit a986eb0Copy full SHA for a986eb0
admin-ui/plugins/auth-server/components/Clients/ClientWizardForm.js
@@ -76,7 +76,8 @@ function ClientWizardForm({
76
setModal(!modal)
77
}
78
function validateFinish(){
79
- if(formRef.current.values.grantTypes.includes('authorization_code') || formRef.current.values.grantTypes.includes('implicit')){
+
80
+ if(formRef.current.values.grantTypes.includes('authorization_code') || formRef.current.values.grantTypes.includes('implicit') || formRef.current.values.grantTypes.length == 0){
81
if(formRef && formRef.current && formRef.current.values.redirectUris.length > 0){
82
toggle()
83
}else{
0 commit comments