curl --request POST \
--url https://sgja-api.vohoangphuc.com/auth/oauth/google \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"codeVerifier": "<string>",
"redirectUri": "<string>"
}
'{
"accessToken": "<string>",
"refreshToken": "<string>",
"tokenType": "Bearer",
"expiresIn": 123
}Authenticates using Google OAuth with PKCE flow
curl --request POST \
--url https://sgja-api.vohoangphuc.com/auth/oauth/google \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>",
"codeVerifier": "<string>",
"redirectUri": "<string>"
}
'{
"accessToken": "<string>",
"refreshToken": "<string>",
"tokenType": "Bearer",
"expiresIn": 123
}