OAuth

Register an agent for a person (service_auth)

WorkOS auth.md service_auth registration. Send the person's email as login_hint. CodeAtlas emails that address a confirmation link. Show the returned claim.user_code to the person; they open the link, type the code and confirm. Then poll POST /oauth2/token with grant_type=urn:workos:agent-auth:grant-type:claim and the claim_token. Answers 503 when the confirmation email cannot be sent. Limit: 10 per hour per IP.

post/agent/identity

Request

  • Base URL: https://codeatlas.com.br
  • URL: https://codeatlas.com.br/agent/identity
  • Auth: none required

Request body

type'service_auth' required
login_hintstring email required

The email of the person the agent acts for.

Response

Registration created. Surface claim.verification_uri and claim.user_code to the person.

registration_idstring required
registration_type'service_auth' required
claim_tokenstring required

Returned once. Keep in memory for the ceremony.

claim_token_expiresstring date-time required
claim_urlstring uri required
post_claim_scopesstring[] required

Changes

No recorded changes to this operation across all 1 revision of this API.