SAP Cloud SDK for JavaScript - v4.4.0
    Preparing search index...

    IAS options for technical user authentication (client credentials).

    interface IasOptionsTechnicalUser {
        appTid?: string;
        assertion?: undefined;
        authenticationType?: "OAuth2ClientCredentials";
        extraParams?: Omit<
            TokenFetchOptions & IdentityServiceTokenFetchOptions,
            "token_format"
            | "resource"
            | "app_tid",
        >;
        requestAs?: "current-tenant" | "provider-tenant";
        resource?: IasResource;
        targetUrl?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    appTid?: string

    The consumer (BTP) tenant ID of the application. May be required for multi-tenant communication.

    assertion?: undefined

    Assertion not used for technical user authentication.

    authenticationType?: "OAuth2ClientCredentials"

    Authentication type. Use 'OAuth2ClientCredentials' for technical users.

    'OAuth2ClientCredentials'
    
    extraParams?: Omit<
        TokenFetchOptions & IdentityServiceTokenFetchOptions,
        "token_format"
        | "resource"
        | "app_tid",
    >

    Additional parameters for the token request to be forwarded to the token fetching function of @sap/xssec.

    requestAs?: "current-tenant" | "provider-tenant"

    Specifies whether the token request is made in the context of the current tenant or the provider tenant.

    'current-tenant'
    
    resource?: IasResource

    The application resource(s) for which the token is requested. The token will only be usable to call the requested application(s). Either provide the app name (common case) or the provider client ID and tenant ID.

    It is recommended to also provide the targetUrl parameter, otherwise the destination will point to the identity service URL from the service binding, instead of the actual target application.

    targetUrl?: string

    The target URL of the destination that the IAS token is requested for. It is recommended to provide this for App-to-App communication (when resource parameter is used), otherwise the destination will point to the identity service URL from the service binding.

    The (identity service) URL from the service binding.
    

    Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.