List login credentials
Lists every login credential (provider, email, linked/last-login time) linked to the current identity. Each row is one way to prove ownership of the PID.
Lists every login credential (provider, email, linked/last-login time) linked to the current identity. Each row is one way to prove ownership of the PID.
Authorization
cookieAuth JWT access token set by /auth/google/callback or /auth/refresh
In: cookie
Response Body
application/json
application/json
curl -X GET "https://example.com/identity/credentials"[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "provider": "string", "email": "user@example.com", "linkedAt": "2019-08-24T14:15:22Z", "lastLoginAt": "2019-08-24T14:15:22Z" }]Unlink a login credential DELETE
Removes a credential from the current identity. Fails with `400` when it is the identity's last credential — every identity must keep at least one way to log in.
Get the current identity GET
Returns the identity of the authenticated user. The identity ID (`<handle>@pid`, e.g. `ifal@pid`) is permanent — user-chosen once at onboarding, never changed, reused, or reassigned, regardless of which credentials the user links, unlinks, or how the profile is updated.