Skip to content

Documentation

Philip Lambok edited this page Dec 20, 2019 · 1 revision

Authentication

Currently, we just provided authentication via Google.

  • URL

    /api/v1/auth/google

  • Method

    POST

  • URL Params

    None

  • Data Params

    {
       "email": "[email protected]",
       "image_url": "http://image.url"
    }
  • Success Response

    {
       "jwt_token": "this_is_secret_token"
    }
  • Error Response

    Status Message
    422 Credentials was invalid
Clone this wiki locally