Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chong
2016-01-25 12:05:49 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
40022fd40d9a0bc88b2b5e17366df852929f6d0d
40022fd4
1 parent
ce810e6e
Updated 第三方登录 (markdown)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
第三方登录.md
第三方登录.md
View file @
40022fd
...
...
@@ -5,8 +5,13 @@
第三方登录成功后需要上传第三方信息给服务器
在/after_bind接口提交时增加参数payload。payload的格式为json,其中包括从授权服务器获得的所有key-value内容。
```
{
access_token:
"access_token"
,refresh_token
:
"refresh_token"
,
expires_in
:
"expires_in"
,
refresh_token_expires
:
"refresh_token_expires"
}
```
json
{
"access_token"
:
"access_token"
,
"refresh_token"
:
"refresh_token"
,
"expires_in"
:
"expires_in"
,
"refresh_token_expires"
:
"refresh_token_expires"
}
```
payload=base64(json)
...
...
Please
register
or
login
to post a comment