cURL
curl --request GET \ --url https://api.faces.sh/v1/oauth/{provider}/callback
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>", "input": "<unknown>", "ctx": {} } ] }
OAuth callback — exchange authorization code for tokens and store them.
This endpoint is called by the OAuth provider’s redirect. It is NOT authenticated via JWT (the state param ties it to the user session).
Successful Response