ApiAuthLogin

Start Google login

Returns the URL a client should navigate to in order to begin Google OAuth. The URL points to `GET /auth/google`, which redirects the browser to Google's consent screen. After the user consents, the browser is redirected back through `/auth/google/callback` and session cookies are set.

POST
/auth/login

Returns the URL a client should navigate to in order to begin Google OAuth. The URL points to GET /auth/google, which redirects the browser to Google's consent screen. After the user consents, the browser is redirected back through /auth/google/callback and session cookies are set.

Response Body

application/json

application/json

curl -X POST "https://example.com/auth/login"
{  "url": "http://localhost:3301/v1/auth/google"}