api
api
auth
Google Login
Google Sign-In orqali tizimga kiradi yoki yangi hisob yaratadi.
Frontend Google SDK dan olingan id_token ni yuboradi. Backend uni Google serverlarida tasdiqlaydi.
Uch holat:
- Google ID mavjud → kirish
- Email mavjud, Google ID yo'q → Google ulanadi va kirish
- Yangi foydalanuvchi → hisob yaratiladi va kirish
post/api/v1/auth/google
Request
- Base URL: https://www.faroz.uz (the document declares no server; this is the origin it was published from)
- URL: https://www.faroz.uz/api/v1/auth/google
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.