mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
搭建 oauth/authorize 的初步逻辑
This commit is contained in:
@ -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'
|
||||
})
|
||||
|
Reference in New Issue
Block a user