Skip to content

Commit b419f1d

Browse files
committed
搭建 oauth/authorize 的初步逻辑
1 parent c3f770c commit b419f1d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/api/login.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ export function authorize() {
122122
response_type: 'code',
123123
client_id: 'test',
124124
redirect_uri: 'https://www.iocoder.cn',
125+
// scopes: {
126+
// read: true,
127+
// write: false
128+
// }
129+
scope: {
130+
read: true,
131+
write: false
132+
}
125133
},
126134
method: 'post'
127135
})

0 commit comments

Comments
 (0)