api

Endpoint that accepts id_token of google user, verifies it, fetches data about that google user, and tries to find matching Employee

post/api/employees/login/google

Request body

tokenstring

Google User id_token

Response

success

idstring uuid
namestring required
emailstring email required
slack_uidstring nullable required
rolestring uuid nullable
companystring uuid
userstring uuid
is_adminboolean
is_managerstring
avatar_imagestring uri nullable
pointsinteger
levelstring
google_idstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.