# SAML application callback **GET /api/saml-applications/{id}/callback** Handle the OIDC callback for SAML application and generate SAML response. ## Servers - Logto endpoint address.: https://[tenant_id].logto.app (Logto endpoint address.) ## Authentication methods - O auth2 ## Parameters ### Path parameters - **id** (string) The unique identifier of the saml application. ### Query parameters - **code** (string) The authorization code from OIDC callback. - **state** (string) The state parameter from OIDC callback. - **redirectUri** (string) The redirect URI for the callback. - **error** (string) - **error_description** (string) ## Responses ### 200 Returns an HTML form that automatically submits the SAML response. ### 400 Invalid request or OIDC error. ### 404 The SAML application was not found. [Powered by Bump.sh](https://bump.sh)