hd

Complete a Secure Identity sign-in

Changed on

Trade the code the Identity origin returned to the portal's /auth/callback for the customer's tokens. The round trip must be this desk's, begun from the origin the request is sent from (its Origin) by the tab that sends its binding back, and is consumed once, so a callback link carrying someone else's code signs nobody in. The customer is the address the sign-in asserted, created at their first sign-in. The access token is the bearer of every signed-in request; the refresh token renews it. A sign-in that stops once its code is exchanged, refused or failed, hands out no tokens, and the session the code opened is revoked at the identity service.

post/hd/desks/{desk_id}/auth/identity/complete

Request

Path parameters

desk_idstring required

The desk, as its lookup answered it.

Headers

X-SV-Client'help-desk-portal' required

Names the portal. A request without it answers 400 CLIENT_HEADER_REQUIRED.

Request body

codestring required

The code the Identity origin returned with.

statestring required

The state it returned with.

bindingstring required

The binding the start answered this tab.

Response

The customer's tokens and record.

Changes

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      the response property / became required for the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status

    • breaking

      the response property / became nullable for the status