curl --request GET \
--url http://localhost:8000/api/v1/google-auth/get-tokens \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"user_info": {
"sub": "<string>",
"name": "<string>",
"email": "[email protected]",
"email_verified": true,
"given_name": "<string>",
"family_name": "<string>",
"picture": "<string>"
},
"token": "<string>",
"refresh_token": "<string>"
}
]Get Google OAuth2 tokens from the database.
Returns: List of OAuth2 tokens
curl --request GET \
--url http://localhost:8000/api/v1/google-auth/get-tokens \
--header 'Authorization: Bearer <token>'[
{
"id": 123,
"user_info": {
"sub": "<string>",
"name": "<string>",
"email": "[email protected]",
"email_verified": true,
"given_name": "<string>",
"family_name": "<string>",
"picture": "<string>"
},
"token": "<string>",
"refresh_token": "<string>"
}
]The access token received from the authorization server in the OAuth 2.0 flow.
Successful Response