Delegated Login
Logs an end user (EndUser) into an organization without the user’s credentials. It cannot log in employees.
If you want to use your own authentication system, while still using Delegated Signing, you can use this endpoint to authenticate a user without needing the user’s credentials.
The service account needs the Auth:Delegated:Login permission, and the request must be signed with a user action signature (X-DFNS-USERACTION header) from the service account’s key. The DFNS SDKs do this for you when the client is configured with the service account’s signer.
The user authentication token can be used for read operations within the Dfns API, however, write operations will still require the user to sign the action.
Authentication
❌ Tenant User (TenantUser)❌ Organization User (
CustomerEmployee)❌ End User (
EndUser)✅ Service Account
Required Permissions
Auth:Delegated:Login: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
User Action Signature: Used to sign the change-inducing API requests. More details how to generate the token: User Action Signing flows
Body
Username/identifier of the user to log in.
Response
Success
Authentication token issued to the user.
Token expiration time in epoch milliseconds.
Decoded identity for the issued token. Populated for flows whose token is not a Dfns-minted JWT (e.g. OIDC passthrough) so clients can skip JWT decoding; absent on flows where the token's claims carry the same fields.