-
-
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.
mermaid for OAuth SAML Bearer Assertion Flow
- Loading branch information
1 parent
457fb25
commit 345eb3a
Showing
1 changed file
with
31 additions
and
0 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,31 @@ | ||
# OAuth SAML Bearer Assertion Flow | ||
|
||
::: mermaid | ||
sequenceDiagram | ||
%% participants | ||
participant User as User | ||
participant WebApp as Web Application | ||
participant IdP as Identity Provider | ||
participant XSUAA as SAP BTP Authentication | ||
participant BTPApp as SAP BTP Application | ||
%% arrows | ||
loop Setup | ||
WebApp-->>IdP: Trust Configuration | ||
IdP-->>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->>IdP: Requests SAML Assertion with JWT | ||
IdP->>WebApp: Provides SAML Assertion | ||
WebApp->>XSUAA: Requests BTP JWT with SAML Assertion | ||
XSUAA->>XSUAA: Validates SAML Assertion | ||
XSUAA->>WebApp: Provides BTS JWT | ||
WebApp->>BTPApp: Sends request with BTS JWT as Authorization Header | ||
BTPApp->>WebApp: Response with Application data | ||
WebApp->>User: Forward Application Data | ||
::: |