GET /auth/google/authorize

Redirects the user to Google's OAuth2 authorization page.

Responses

  • 200 application/json

    Get link to Google OAuth2 authorization URL

    Hide response attributes Show response attributes object
    • success boolean
    • code integer
    • timestamp string(date-time)
    • message string
  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • success boolean
    • code integer
    • errorCode string
    • message string
    • timestamp string(date-time)
GET /auth/google/authorize
curl \
 --request GET 'http://localhost:8080/api/auth/google/authorize'
Response examples (200)
{
  "success": true,
  "code": 200,
  "timestamp": "2025-11-16",
  "message": "http://localhost:8082/realms/ai-primary-dev/protocol/openid-connect/auth?scope=openid+profile+email&response_type=code&client_id=ai-primary&redirect_uri=http%3A%2F%2Flocalhost%3A3000&state=4b089761-da3b-4836-8f40-0a86f7536301&kc_idp_hint=google&prompt=login"
}
Response examples (500)
{
  "success": false,
  "code": 42,
  "errorCode": "string",
  "message": "string",
  "timestamp": "2025-05-04T09:42:00Z"
}