Authentication

Create a signed assertion token for member authorization. Roles: admin or self.

Changed on

Generate and sign a new assertion token for the given Mobile Coach member ID. The token will be valid for only 5 minutes and can be used to authenticate the member via single-sign-on.

Notes:

  • The token is a URL-safe JWT cryptographically signed by Mobile Coach.
  • The member ID is a Mobile Coach member ID (not a member ID from your system).
    • Mobile Coach member IDs are returned in the export API and webhook events.
  • Create a member assertion token as part of a single-sign-on flow into Mobile Coach.
post/api/auth/tokens/members/{memberId}

Request

  • Base URL
    https://api.mobilecoach.org (the document declares no server; this is the origin it was published from)
  • URL
    https://api.mobilecoach.org/api/auth/tokens/members/{memberId}
  • Auth
    AuthToken (a scheme the document does not define)

Path parameters

memberIdinteger required

Response

OK

successboolean
errorstring
tokenstring

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status