-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
split documentation for SAML Bearer and Token Exchange
- Loading branch information
1 parent
fc40733
commit 6bdd440
Showing
2 changed files
with
39 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## OAuth Token Exchange Flow | ||
|
||
Configuration based on the SAP Community blog posts: | ||
|
||
- [Exchange JWT token from Azure with token issued by SAP Cloud Identity Authentication Service](https://community.sap.com/t5/technology-blogs-by-sap/exchange-jwt-token-from-azure-with-token-issued-by-sap-cloud-identity/ba-p/13553444) | ||
- [Connecting SAP IAS as a proxy to Azure AD using OpenID Connect](https://community.sap.com/t5/technology-blogs-by-members/connecting-sap-ias-as-a-proxy-to-azure-ad-using-openid-connect/ba-p/13534385) | ||
|
||
```mermaid | ||
sequenceDiagram | ||
%% participants | ||
participant User as User | ||
participant WebApp as Web Application | ||
participant IdP as Identity Provider | ||
participant SAPIAS as SAP Identity Authentication Service | ||
participant XSUAA as SAP BTP Authentication | ||
participant BTPApp as SAP BTP Application | ||
%% arrows | ||
loop Setup | ||
WebApp-->IdP: Trust Configuration | ||
IdP-->SAPIAS: Trust Configuration | ||
SAPIAS-->XSUAA: Trust Configuration | ||
end | ||
User->>WebApp: Open App | ||
WebApp->>IdP: Requests User Authentication | ||
IdP->>User: Ask User for credentials and other factors | ||
User->>IdP: Provides credentials and other factors | ||
IdP->>WebApp: Provides JWT | ||
WebApp->>User: Session Cookie | ||
User->>WebApp: Request to SAP | ||
WebApp->>SAPIAS: Requests SAP IAS JWT with JWT | ||
SAPIAS->>SAPIAS: Validates JWT | ||
SAPIAS->>WebApp: Provides SAP IAS JTW | ||
WebApp->>XSUAA: Requests BTP JWT with SAP IAS JTW | ||
XSUAA->>XSUAA: Validates SAP IAS JTW | ||
XSUAA->>WebApp: Provides BTP JTW | ||
WebApp->>BTPApp: Sends request with BTP JWT as Authorization Header | ||
BTPApp->>WebApp: Response with Application data | ||
WebApp->>User: Forward Application Data | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters