This method is used to login with an Google ID token.

The primary usecase for this API is to sign in with Google on mobile devices.

Returns

On success information about the user is returned together with a JSON Web Token which should be used to authenticate all future requests.

Request

POST https://dev.medrecord.nl/auth/login/googletoken

Request body

The request body takes a complete The token obtained from Google resource, containing the following writable properties:

{
    "idToken": "string"
}

Properties

Name Type Description Additional
idToken string

Token as returned from Google

required

Response

The following HTTP status codes may be returned, optionally with a response resource.

Status code Description Resource
200 OK

Success

Information about the logged in user

Explore this API

body

The Google ID token used to determine the authenticity of the user.

Request Content-Type
Response Content-Type
Try it out!
pluslistarrow-leftglobe