Skip to main content
POST
/
auth
/
google
/
exchange
Exchange Google auth code for submission token
curl --request POST \
  --url https://wbl.monolisk.dev/auth/google/exchange \
  --header 'Content-Type: application/json' \
  --data '
{
  "token": "<string>"
}
'
{
  "token": "<string>",
  "info": {
    "firstname": "<string>",
    "lastname": "<string>",
    "osis": "<string>",
    "grade": "<string>",
    "email": "[email protected]",
    "hours": 123
  }
}

Body

application/json
token
string
required

Google authentication code

Response

Successfully exchanged auth code

token
string

Submission token

info
object