mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
oauth map
This commit is contained in:
1 parent
6b92b96225
commit
71de49fc49
15 files changed
+66
-30
No files matched your search
@@ -46,6 +46,7 @@ async function callback({ state, code }) {
|
||||
.set('User-Agent', 'Hydro-OAuth')
|
||||
.set('Authorization', `token ${t}`);
|
||||
const ret = {
|
||||
_id: `${userInfo.body.id}@github.local`,
|
||||
email: userInfo.body.email,
|
||||
bio: userInfo.body.bio,
|
||||
uname: [userInfo.body.name, userInfo.body.login],
|
||||
|
||||
Reference in new issue
Block a user