搭建 oauth/authorize 的初步逻辑

This commit is contained in:
YunaiV
2022-05-14 20:10:06 +08:00
parent ce60ec0815
commit aa8fb4acf0
11 changed files with 253 additions and 53 deletions

View File

@ -122,6 +122,14 @@ export function authorize() {
response_type: 'code',
client_id: 'test',
redirect_uri: 'https://www.iocoder.cn',
// scopes: {
// read: true,
// write: false
// }
scope: {
read: true,
write: false
}
},
method: 'post'
})