Sap Btp Cloud Identity Services logo

Sap Btp Cloud Identity Services

Community
secondsky
sap-btp-cloud-identity-services

SAP Cloud Identity Services for BTP applications: Identity Authentication (IAS), Identity Provisioning (IPS), and Authorization Management (AMS). Use when configuring authentication for BTP apps, setting up OIDC or SAML app registrations, federating corporate identity providers, establishing subaccount trust, provisioning users, writing AMS authorization policies, migrating from XSUAA to IAS-based authentication, or troubleshooting token and trust errors.

Overview

Publishersecondsky
Repositorysap-skills
Skill namesap-btp-cloud-identity-services
Stars
445
Forks
117
Bundled files
7
LicenseGPL-3.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by secondsky on GitHub. Read the source before you install it.

Installation

Install the Sap Btp Cloud Identity Services AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/secondsky/sap-skills.git /tmp/sap-skills
mkdir -p .claude/skills
cp -r /tmp/sap-skills/plugins/sap-btp-cloud-identity-services/skills/sap-btp-cloud-identity-services .claude/skills/sap-btp-cloud-identity-services
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sap Btp Cloud Identity Services in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sap Btp Cloud Identity Services on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sap Btp Cloud Identity Services is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SAP Cloud Identity Services

SAP Cloud Identity Services are a group of services on SAP BTP that manage identity and access across cloud and on-premise systems. They provide single sign-on, user provisioning, and policy-based authorization.

The services comprise:

  • Identity Authentication (IAS) — cloud-based authentication, SSO (OIDC/SAML 2.0), corporate IdP federation, conditional authentication, and user store management. Acts as the identity provider for SAP BTP applications.
  • Identity Provisioning (IPS) — identity lifecycle management as a service. Synchronizes users and groups between source and target systems (SAP and non-SAP) with full and delta read modes, real-time provisioning, and transformation support.
  • Identity Directory — the central user store. Provides SCIM 2.0 REST API, custom schemas, and generates the Global User ID distributed by IPS to SAP cloud applications.
  • Authorization Management (AMS) — policy-based authorization for BTP applications. Developers define policies in Data Control Language (DCL); administrators refine and assign them via the administration console.

Related Skills

  • sap-btp-connectivity — destination service and connection authentication mechanics (OAuth client credentials, principal propagation through Cloud Connector)
  • sap-cap-capire — CAP application-level auth usage (role templates, @requires annotations, cds deploy with xs-security.json)
  • sap-btp-best-practices — high-level security governance and production deployment patterns
  • sap-btp-cloud-platform — BTP account setup, subaccount configuration, service instance creation

When to Use This Skill

  • Registering an OIDC or SAML 2.0 application in IAS
  • Configuring corporate identity provider federation (IdP proxy)
  • Establishing trust between a BTP subaccount and an IAS tenant
  • Setting up Identity Provisioning source/target systems and jobs
  • Writing or refining AMS authorization policies (DCL)
  • Migrating from XSUAA to IAS-based authentication
  • Troubleshooting token validation, audience, or issuer mismatch errors
  • Configuring conditional authentication (risk-based, MFA)
  • Integrating IAS with the SAP BTP Identity service (automatic OIDC app creation)

Quick Reference

ServicePurposeKey Objects
IASAuthentication & SSOApplications (OIDC/SAML), IdPs, conditional auth, user store
IPSUser/group provisioningSource systems, target systems, proxy systems, transformations, jobs
Identity DirectoryUser persistenceUsers, groups, custom schemas, Global User ID
AMSPolicy-based authorizationAuthorization policies, DCL rules, policy templates, restrictions

Identity Authentication (IAS)

IAS is the entry point for authentication in SAP BTP applications. It supports OIDC and SAML 2.0 protocols, acts as an identity provider or a proxy to corporate IdPs, and provides conditional authentication based on user attributes, email domain, user group, or IP range.

Application Registration

Register applications in the IAS admin console under Applications and Resources > Applications. Each application defines:

  • Application Type — OIDC or SAML 2.0
  • Trust Configuration — SP metadata upload (SAML) or redirect URIs (OIDC)
  • Authentication — method, conditional rules, IdP selection
  • User Attributes — which attributes are sent in tokens/assertions

When using the SAP BTP Identity service (xsuaa replacement), the service instance automatically creates an OIDC application in IAS. No manual registration is needed.

Corporate IdP Federation

IAS can act as a proxy: end users authenticate at a corporate IdP (Azure AD, Okta, etc.), and IAS bridges the token for SAP applications. Configure under Applications and Resources > Corporate Identity Providers.

For details, see references/identity-authentication.md.

Identity Provisioning (IPS)

IPS synchronizes users and groups between systems. It supports source, target, and proxy system types with configurable transformations and scheduling.

Key Concepts

  • Source systems — read users/groups from (e.g., SAP SuccessFactors, Azure AD, SAP S/4HANA Cloud)
  • Target systems — write users/groups to (e.g., IAS tenant, SAP BTP XSUAA, SAP Analytics Cloud)
  • Proxy systems — hybrid scenarios where IPS reads from one system and writes through another
  • Transformations — JSON-based attribute mappings between source and target schemas
  • Jobs — scheduled or on-demand provisioning runs (full or delta read)
  • Real-time provisioning — immediate entity propagation from source to target

For details, see references/identity-provisioning.md.

Authorization Management (AMS)

AMS enables policy-based, instance-level authorization for BTP applications. Developers define authorization policies in Data Control Language (DCL) — an SQL-like language — and deploy them with the application. Administrators refine policies in the IAS admin console.

Policy Lifecycle

  1. Developer defines policies in DCL and deploys with the application
  2. Base policies appear in the IAS admin console under Authorization Policies
  3. Administrator creates custom policies (copies of base) with refined restrictions
  4. Administrator assigns policies to users via groups

DCL Example

sql
DEFINE POLICY SalesOrderAccess
  AS (SELECT FROM SalesOrder
      WHERE buyer = CONTEXT('userIdentityLogonName')
      OR region = CONTEXT('userAttributes.region'));

For details, see references/authorization-management.md.

XSUAA to IAS Migration

SAP is migrating BTP authentication from XSUAA (SAP Authorization and Trust Management Service) to Cloud Identity Services. The recommended posture:

  • New BTP applications: Use the Identity service (BTP service) + IAS. The Identity service automates OIDC application creation in IAS.
  • Existing XSUAA applications: Coexistence is supported. Migration is incremental — SAP recommends migrating authentication to IAS while keeping XSUAA for backward compatibility.
  • Authorization: SAP is replacing XSUAA scope-based authorization with AMS policy-based authorization for new applications. Existing role-collection patterns remain supported.

For the full migration guide, see references/xsuaa-to-ias-migration.md.

Trust Configuration

Trust between BTP subaccounts and IAS is established automatically when using the Identity service. For manual configurations:

  • SAML 2.0: Upload SP metadata XML to the IAS application trust configuration
  • OIDC: Configure redirect URIs, post-logout URIs, and client authentication

BTP Subaccount Trust

In the BTP cockpit, under Security > Trust Configuration, the IAS tenant appears after establishing the service binding. The Identity service creates the trust automatically.

For details, see references/troubleshooting.md and references/app-integration-patterns.md.

Common Errors and Solutions

ErrorCauseSolution
Invalid redirect URIRedirect URI in IAS app doesn't match the approuter callback URLAdd the exact URI (including protocol and trailing slash) in IAS app > Trust > Redirect URIs
Token audience mismatchToken aud claim doesn't include the expected client IDVerify the application's client ID matches the one in IAS; check the Identity service binding
Trust not establishedBTP subaccount has no trust to the IAS tenantRe-bind the Identity service instance or manually add IAS as trust configuration in BTP cockpit
Missing role collectionsUser has no roles assigned in BTPAssign role collections in BTP cockpit > Security > Role Collections, or configure AMS policies
401 on service-to-service callClient credentials invalid or missingRegenerate client secret/certificate; verify binding credentials
SAML assertion expiredClock drift between IdP and IASSynchronize system clocks; check IAS tenant SAML settings
Provisioning job failedSource/target system connection issueCheck system properties, certificates, and connectivity in IPS admin console
Issuer mismatch in tokenIAS tenant URL changed or wrong tenantVerify the iss claim matches the IAS tenant URL configured in the BTP trust

Bundled Resources

  1. references/identity-authentication.md — IAS app registration, OIDC/SAML configuration, corporate IdP federation, conditional authentication, user store
  2. references/identity-provisioning.md — IPS source/target/proxy systems, jobs, transformations, real-time provisioning, troubleshooting
  3. references/authorization-management.md — AMS policy language (DCL), policy lifecycle, CAP/BTP integration, instance-based authorization
  4. references/xsuaa-to-ias-migration.md — XSUAA vs IAS decision guide, coexistence, migration steps, role-collection mapping
  5. references/app-integration-patterns.md — Approuter + IAS, CAP + IAS/AMS, SAPUI5 frontends, mTLS/certificate auth for service-to-service
  6. references/troubleshooting.md — Trust errors, token validation failures, audience/issuer mismatches, SAML vs OIDC pitfalls

Documentation Links

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sap Btp Cloud Identity Services AI skill do?

SAP Cloud Identity Services for BTP applications: Identity Authentication (IAS), Identity Provisioning (IPS), and Authorization Management (AMS). Use when configuring authentication for BTP apps, setting up OIDC or SAML app registrations, federating corporate identity providers, establishing subaccount trust, provisioning users, writing AMS authorization policies, migrating from XSUAA to IAS-based authentication, or troubleshooting token and trust errors.

Why use Sap Btp Cloud Identity Services on TypingMind?

Because you install it once and use it with any model. Sap Btp Cloud Identity Services is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sap Btp Cloud Identity Services in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/secondsky/sap-skills/tree/main/plugins/sap-btp-cloud-identity-services/skills/sap-btp-cloud-identity-services. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sap Btp Cloud Identity Services?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sap Btp Cloud Identity Services?

As many as you like. As long as a model supports skills, you can use Sap Btp Cloud Identity Services with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sap Btp Cloud Identity Services AI skill free?

Yes. It is published on GitHub by secondsky under the GPL-3.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇