身分驗證

POST /auth/oauth/exchange 公開

Redeem a mobile OAuth callback code for a session.

Mobile-only: the app’s custom-scheme OAuth callback carries a single-use code (not the session directly); this exchanges it for the session cookie, landing in the app’s own cookie jar. Public — the code is the credential, and a missing/expired/reused one is a 401.

請求內容

code string 必填
The one-time code from the mobile callback redirect.
curl
curl -X POST "https://freehire.me/api/v1/auth/oauth/exchange" \
  -H 'Content-Type: application/json' -c cookies.txt \
  -d '{"code":"..."}'
json — response
{ "data": { "id": 1, "email": "[email protected]", "role": "user" } }

要針對這個職缺調整履歷嗎?

目前無法檢查您與這個職缺的符合程度;請先將履歷加入個人檔案,下次即可查看。

A new version of freehire is available