|
@@ -884,11 +884,11 @@ create table oauth_client_details
|
|
|
`client_id` varchar(100) not null COMMENT '应用标识',
|
|
|
`client_name` varchar(200) not null COMMENT '应用名称',
|
|
|
`client_secret` varchar(200) not null COMMENT '应用密钥',
|
|
|
- `web_server_redirect_uri` varchar(2000) not null COMMENT '回调地址',
|
|
|
- `scope` varchar(200) not null default 'all' COMMENT '授权',
|
|
|
- access_token_validity_seconds bigint not null default 3600 comment '令牌时效(s)' ,
|
|
|
+ `allow_url` varchar(4000) not null default '*' COMMENT '应用允许授权的所有URL, 多个用逗号隔开',
|
|
|
+ `scope` varchar(200) not null default 'all' COMMENT '应用签约的所有权限, 多个用逗号隔开',
|
|
|
+ access_token_timeout bigint not null default 3600 comment '令牌时效(s)' ,
|
|
|
refresh_token_validity_seconds bigint not null default 28800 comment '刷新时效(s)' ,
|
|
|
- authorized_grant_types varchar(1000) not null default 'authorization_code,password,client_credentials,implicit,refresh_token,password_code,openId,mobile_password' COMMENT '授权模式',
|
|
|
+ authorized_grant_types varchar(1000) not null default 'authorization_code,password,client_credentials,implicit' COMMENT '授权模式',
|
|
|
status int not null default 1 comment '状态 1=启用 2=禁用',
|
|
|
`create_date` date null default null COMMENT '创建时间',
|
|
|
`modify_date` date null default null COMMENT '修改时间',
|