|
@@ -435,6 +435,7 @@ const Save = () => {
|
|
|
'sso.configuration.oauth2.type': {
|
|
'sso.configuration.oauth2.type': {
|
|
|
type: 'string',
|
|
type: 'string',
|
|
|
title: '认证方式',
|
|
title: '认证方式',
|
|
|
|
|
+ required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
'x-decorator': 'FormItem',
|
|
|
'x-decorator-props': {
|
|
'x-decorator-props': {
|
|
|
gridSpan: 2,
|
|
gridSpan: 2,
|
|
@@ -464,6 +465,7 @@ const Save = () => {
|
|
|
'sso.configuration.oauth2.clientId': {
|
|
'sso.configuration.oauth2.clientId': {
|
|
|
type: 'string',
|
|
type: 'string',
|
|
|
title: 'client_id',
|
|
title: 'client_id',
|
|
|
|
|
+ required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
'x-decorator': 'FormItem',
|
|
|
'x-decorator-props': {
|
|
'x-decorator-props': {
|
|
|
gridSpan: 2,
|
|
gridSpan: 2,
|
|
@@ -478,6 +480,7 @@ const Save = () => {
|
|
|
'sso.configuration.oauth2.clientSecret': {
|
|
'sso.configuration.oauth2.clientSecret': {
|
|
|
type: 'string',
|
|
type: 'string',
|
|
|
title: 'client_secret',
|
|
title: 'client_secret',
|
|
|
|
|
+ required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
'x-decorator': 'FormItem',
|
|
|
'x-decorator-props': {
|
|
'x-decorator-props': {
|
|
|
gridSpan: 2,
|
|
gridSpan: 2,
|
|
@@ -492,6 +495,7 @@ const Save = () => {
|
|
|
'sso.configuration.oauth2.authorizationUrl': {
|
|
'sso.configuration.oauth2.authorizationUrl': {
|
|
|
type: 'string',
|
|
type: 'string',
|
|
|
title: '授权地址',
|
|
title: '授权地址',
|
|
|
|
|
+ required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
'x-decorator': 'FormItem',
|
|
|
'x-decorator-props': {
|
|
'x-decorator-props': {
|
|
|
gridSpan: 2,
|
|
gridSpan: 2,
|
|
@@ -506,6 +510,7 @@ const Save = () => {
|
|
|
'sso.configuration.oauth2.tokenUrl': {
|
|
'sso.configuration.oauth2.tokenUrl': {
|
|
|
type: 'string',
|
|
type: 'string',
|
|
|
title: 'token地址',
|
|
title: 'token地址',
|
|
|
|
|
+ required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
'x-decorator': 'FormItem',
|
|
|
'x-decorator-props': {
|
|
'x-decorator-props': {
|
|
|
gridSpan: 2,
|
|
gridSpan: 2,
|
|
@@ -520,6 +525,7 @@ const Save = () => {
|
|
|
'sso.configuration.oauth2.userInfoUrl': {
|
|
'sso.configuration.oauth2.userInfoUrl': {
|
|
|
type: 'string',
|
|
type: 'string',
|
|
|
title: '用户信息地址',
|
|
title: '用户信息地址',
|
|
|
|
|
+ required: true,
|
|
|
'x-decorator': 'FormItem',
|
|
'x-decorator': 'FormItem',
|
|
|
'x-decorator-props': {
|
|
'x-decorator-props': {
|
|
|
gridSpan: 2,
|
|
gridSpan: 2,
|