Authing DocsDocuments
Concept
workflow
Guides
Development Integration
Application integration
Concept
workflow
Guides
Development Integration
Application integration
Old Version
Concept
  • What is Authing
  • What is the user pool
  • What is an application
  • What is certification
  • What is federal certification
  • What is authorization
  • Authentication vs authorization
  • What is JWT Token
  • What is ID Token
  • What is Access Token
  • What is Refresh Token
  • Access Token vs Id Token
  • OIDC FAQ
  • Understand the SAML2 protocol

    • SAML2 Summary
    • SAML2 Process
  • Understand OIDC and OAuth2.0 protocol

  • What is multi-factor authentication
  • Account Lifecycle Management
  • Hosted login page vs embeddable login component
  • CIAM and EIAM
  • What is LDAP
  • Principle of Scan Code Login

¶ SAML Flow

Update Time: 2025-02-18 09:00:47
Edit

In this section, we will introduce the data flow between SP, IdP and Browser.

¶ Roles in SAML Protocol

Browser: Handel the communication between SP and IdP SP: Service Provider IdP: Identity Provider

¶ SAML Flow

  1. User send access request to SP.
  2. SP generate SAML request and send it to IdP via browser redirect.
  3. IdP received SAML request and request user login.
  4. User login.
  5. IdP send SAML response including SAML assertion to SP.
  6. SP validate SAML response.
  7. User access granted.

¶ SAML Bindings Between SP and IdP

There are three bindings in SAML: HTTP Redirect Binding, HTTP POST Binding and HTTP Artifact Binding. Each binding is used in different stages during communication.

¶ HTTP Redirect Binding

SP send SAML request via HTTP Redirect Binding. This SAML message is carried directly in the URL query sting of an HTTP GET request

¶ HTTP POST Binding

The SP sends the SAML Request to the IdP in the form of a POST request through the immediately submitted Form. The IdP sends the SAML Response to the SP in the form of a POST request through the immediately submitted Form.

¶ HTTP Artifact Binding

SP and IdP only transmit artifacts in browser. Artifacts can be used to request SAML body via back channel. This avoids SAML Request and SAML Response exposed in the Front End.

Prev: SAML2 Summary Next: Overview of OIDC and OAuth2.0
  • Roles in SAML Protocol
  • SAML Flow
  • SAML Bindings Between SP and IdP

User identity management

Integrated third-party login
Mobile phone number flash check (opens new window)
Universal login form component
Custom authentication process

Enterprise internal management

Single Sign On
Multi-factor Authentication
Authority Management

Developers

Development Document
Framework Integration
Blog (opens new window)
GitHub (opens new window)
Community User Center (opens new window)

Company

400 888 2106
sales@authing.cn
16 / F, Block B, NORTH STAR CENTURY CENTER, Beijing(Total)
room 406, 4th floor, zone B, building 1, No. 200, Tianfu Fifth Street, Chengdu(branch)

Beijing ICP No.19051205-1

© Beijing Steamory Technology Co.