curl --request GET \
--url https://api.unibee.top/merchant/auth/sso/oauth/google \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"sign": "<string>",
"userInfo": {
"email": "<string>",
"familyName": "<string>",
"givenName": "<string>",
"id": "<string>",
"locale": "<string>",
"name": "<string>",
"picture": "<string>",
"verifiedEmail": true
}
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Merchant Oauth Google
curl --request GET \
--url https://api.unibee.top/merchant/auth/sso/oauth/google \
--header 'Authorization: Bearer <token>'
{
"code": 123,
"data": {
"sign": "<string>",
"userInfo": {
"email": "<string>",
"familyName": "<string>",
"givenName": "<string>",
"id": "<string>",
"locale": "<string>",
"name": "<string>",
"picture": "<string>",
"verifiedEmail": true
}
},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Google Code
The Google Redirect Uri
The response is of type object
.