bitter-policeman-63038
05/27/2025, 1:11 AMbrief-egg-61061
05/27/2025, 1:11 AMbrief-egg-61061
05/27/2025, 1:11 AM<https://api.console.ory.sh/saml/api/oauth/saml>
- Enable SAML authentication in your Ory project configuration. Example API call to enable SAML and add a provider (replace placeholders with your actual values): bash curl -X PATCH --location "<https://api.console.ory.sh/projects/$PROJECT_ID>" \ -H "Authorization: Bearer $WORKSPACE_API_KEY" \ -H "Content-Type: application/json" \ -d '[ { "op": "replace", "path": "/services/identity/config/selfservice/methods/saml/enabled", "value": true } ]'
bash curl -X PATCH --location "<https://api.console.ory.sh/projects/$PROJECT_ID>" \ -H "Authorization: Bearer $WORKSPACE_API_KEY" \ -H "Content-Type: application/json" \ -d '[ { "op": "add", "path": "/services/identity/config/selfservice/methods/saml/config/providers/-", "value": { "id": "google-workspace", "label": "Google Workspace", "mapper_url": "base64://...", "raw_idp_metadata_xml": "base64://...", "organization_id": "$ORGANIZATION_ID" } } ]'
For attribute mapping, see the [SAML data mapping example](https://www.ory.sh/docs/kratos/organizations#saml-via-ory-network) in the docs. References: [SAML via Ory Network](https://www.ory.sh/docs/kratos/organizations#saml-via-ory-network) --- ### 2. Ory Network as SAML IdP (AWS as SP) The knowledge sources do not explicitly document Ory Network acting as a SAML Identity Provider (IdP) for downstream applications like AWS. The available documentation focuses on Ory as a SAML Service Provider (SP), integrating with upstream IdPs (such as Google Workspace) to authenticate users, not as an IdP for other services. Summary: - You can use Ory Network to authenticate users via SAML with Google Workspace as the IdP. - The documentation does not provide information on configuring Ory Network as a SAML IdP for AWS or other SPs. If you require Ory to act as a SAML IdP for AWS, I recommend reaching out to [Ory Support](support@ory.sh) or your Ory account representative to confirm if this feature is available or planned, as it is not covered in the current documentation. References: [SAML via Ory Network](https://www.ory.sh/docs/kratos/organizations#saml-via-ory-network) [SAML Overview](https://www.ory.sh/docs/kratos/organizations#saml) --- In summary: - Ory Network can replace Okta for SSO as a SAML SP (authenticating users via Google Workspace). - There is no documented support for Ory Network acting as a SAML IdP for AWS. Please contact Ory for further guidance.bitter-policeman-63038
05/27/2025, 1:36 AMbitter-policeman-63038
05/27/2025, 1:37 AMbrief-egg-61061
05/27/2025, 1:37 AMbrief-egg-61061
05/27/2025, 1:38 AMbitter-policeman-63038
05/27/2025, 2:06 AMbrief-egg-61061
05/27/2025, 2:06 AMbrief-egg-61061
05/27/2025, 2:06 AM