Questions tagged [saml]

An open Single Sign On (SSO) solution for the web, a problem also addressed by OpenID.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

Can I combine OpenID Connect and SAML2 protocols in OpenAM

We are using Forgerock OpenAM for managing authentication and authorization and I was wondering if it is possible to use this configuration: Domain 1 -> App 1 -> Use SAML2 Domain 1 -> App 2 -...
user avatar
0 votes
0 answers
20 views

How does the SAML based SSO differ for Internal (employees) and External users (external resources)?

We are trying to set up(I am not part of the setting up process) an SSO based login for an ITSM application. Our organisation has some users working for us although they use their own organisation ...
user avatar
  • 101
1 vote
1 answer
37 views

Security aspects in SAML2 using configuration with metadata URI

I have an app where I may choose to configure SAML2 login in the app with: Public cert of IdP IdP SAML2 login URL IdP entity ID I may also choose to, instead, provide an HTTPS metadata URL from ...
user avatar
0 votes
0 answers
53 views

Is it inappropriate at all for someone in my client organization to email their PEM file to me?

I have a SAML offering for my clients to access my cloud based application. Should I have a portal for them to upload their certificates or should I go the easy route and just have them e-mail them to ...
user avatar
0 votes
0 answers
28 views

Authenticate via SAML without establishing SSO session

My SaaS application offers enterprise customers the option to use SAML to authenticate their user population against their own Identity Provider. This normally works fine, however I am looking for ...
user avatar
0 votes
0 answers
71 views

Access SP on behalf of an IDP authenticated user

I'm learning SAML and came to a question. Let's say you have an IDP and an SP. Following the SP-initiated flow, a user accesses a web page provided by the SP, clicks on some button to authenticate, is ...
user avatar
  • 143
-1 votes
1 answer
73 views

Other than domain, what other attribute can SAML work with?

I am very new to SAML and currently doing research on whether SAML is the right solution for me. All the SAML examples that I can find work on the email domain. I wonder if it is possible to build a ...
user avatar
  • 477
1 vote
2 answers
186 views

Does it make sense to split two factor authentication between identity providers

A common multi factor authentication solution will ask a user for a username+password and a one-time password. In all documents I can find both factors are asked by the same identity provider. This ...
user avatar
  • 3,599
1 vote
0 answers
61 views

SSO - SAMLResponse security via localhost reply [duplicate]

We're currently in the process of enhancing our Windows .NET desktop application with SAML single sign-on. In order to retrieve the SAMLResponse from the IP we have the redirect/reply URL set to http:/...
user avatar
1 vote
2 answers
126 views

SAML and privacy: does the Identity Provider have to know about the Service Provider?

Does the SAML Identity Provider have to know which Service Provider the User is trying to authenticate with, during a Single Sign-On? By looking at the specs, I see references to various elements that ...
user avatar
  • 113
1 vote
0 answers
312 views

SAML/oauth2/openid-connect login via proxy as another user

I manage a set of service providers (SP1, SP2, SP3, etc), and we currently have this SAML SSO flow working where the SP causes a POST submit to the SAML IDP with an XML SAML request which includes an ...
user avatar
  • 111
0 votes
1 answer
168 views

How does one detect and deter golden SAML attacks?

How does one defend, detect and deter golden SAML attacks?
user avatar
9 votes
0 answers
407 views

SolarWinds Orion SAML compromise mass cert update

SolarWinds Orion customers have suffered some network compromises according to news reports. One report says, right at the end of the article, that SAML2.0 signing certificates may have been ...
user avatar
  • 359
4 votes
1 answer
1k views

Why is SAML still used for enterprise SSO instead of OIDC?

Im trying to wrap my head around the difference between SAML/OIDC/and OAuth Is the only reason SAML is the most popular choice for enterprise SSO that its been around much longer? Is it expected to ...
user avatar
0 votes
1 answer
207 views

How an IDP sends SAML assertion to an SP?

I'm new to security concepts. I am studying how SAML works and I'm confused about how IDP sends SAML assertion to SP. I searched on the internet and I found out two scenarios are possible. First is ...
user avatar
1 vote
1 answer
143 views

SSO SAML2: validating/verifying the SAMLResponse at the ACS

So it's unclear how much more security needs to happen at the ACS point. I can see that the IDP signs a signature that involves a certificate and private key. The SP can verify the signature with the ...
user avatar
  • 115
1 vote
1 answer
113 views

Verifying the security of SAML SSO

I run an instance of a log aggregation product in the cloud, installed on a VM. I've strictly configured it's networking settings, internal firewall, internal port redirection, strong admin password, ...
user avatar
  • 237
1 vote
2 answers
700 views

How does encryption, certificates in an end to end SSO flow?

So, I know how public-private key encryption works. I understand how/why certificates are required. I understand how a SSO flow (IdP initiated) works. But, I do not understand how the three of them ...
user avatar
  • 111
1 vote
1 answer
179 views

OAuth2, SAML, OpenID connect - Which one to use for my scenario?

I work for a company where we give customer (hundreds/thousands of users) access to 2 sites. One owned by a 3rd party SaaS and one owned by us. Customers spend alot of time registering for both sites ...
user avatar
0 votes
0 answers
2k views

How to decrypt encrypted SAML assertion using private RSA key?

Our system supports SAML2 and acts as service provider. Our customer uses ADFS as identity provider. Metadata has been exchanged and the connection works. Unfortunately our system complains about the ...
user avatar
0 votes
1 answer
197 views

App-to-app or service-to-service authentication using federated login

I have an application Foo that exposes a web-based portal as well as a REST API service via HTTPS. When a human user connects to the app Foo to use its web-based portal, the human user is first ...
user avatar
0 votes
2 answers
467 views

Do SAML responses containing encrypted assertions provide protection against MiTM attacks?

A previously asked question touches on topics which are very similar to what I am having trouble understanding. In a web application I am testing, SAML SSO is brokered using Keycloak. The SAML ...
user avatar
1 vote
0 answers
109 views

Automating SAML login for service users?

Is it possible to fully automate the login of a service user (i.e. a programmatic, software based "user") without user interaction? I have a service provider that's SAML protected. Basic Auth and ...
user avatar
  • 11
2 votes
2 answers
837 views

Should a SAML Assertion whose SessionNotOnOrAfter value is exactly the same value as its AuthnInstant be treated as having an invalid session?

I am receiving SOAP requests with SAML AuthnStatements whose SessionNotOnOrAfter timestamp is EXACTLY the same value as its AuthnInstant: <saml:AuthnStatement AuthnInstant="2020-04-22T21:11:41....
user avatar
  • 277
0 votes
1 answer
98 views

Is this possible in SAML?

Scenario: Consider a huge and diverse federation of Identity (IDPs) and Service (SPs) providers. Since trust level is generally low, Identity providers are reluctant to give out any kind of personal ...
user avatar
0 votes
0 answers
99 views

SAML and Multi-factor auth

I have an application that is a SAML SP, authenticating users via inbound SAML assertions from some other IdP. If I want to require multi-factor auth, is it a common practice to add multi-factor auth ...
user avatar
0 votes
0 answers
93 views

Security of a web app with AzureAD auth

The company I work for is about to publish a custom web app (hosted in AWS) that authenticates through AzureAD. That way, when someone goes to https://www.mywebap.com it is redirected to AzureAd and, ...
user avatar
2 votes
2 answers
218 views

SSO SP Initiated Single Sign Out - User Experience

I work on a software product that allows customers to use SAML or OAuth provisioning to their users. e.g to Azure AD. Now non technical savvy users understandably presume that logging off from our ...
user avatar
  • 503
1 vote
0 answers
99 views

SSO and browser vs. server

We've got implementations in a browser-based system right now that does both SAML and OpenID-connect login support, but does them differently and was looking for advice on the risks. Our SAML ...
user avatar
  • 426
1 vote
0 answers
202 views

SAML Passing a JWT token from the API to the SPA application

We are trying to implement the SAML 2.0 protocol and I stumbled upon a problem related to passing the token from the API to the client SPA application. The authentication flow goes like this: the ...
user avatar
  • 11
0 votes
1 answer
369 views

Could SAML assertion/token be shared or reused between service providers?

SAML noob here, I have an idea implementing permission(authorization) outside of IdP, which effectively become a "Permission Service Provider", so say when an application (another service provider) ...
user avatar
  • 111
3 votes
1 answer
1k views

Why sign SAML authentication requests

In SAML, signing or encrypting the assertions seems to be essential, but I'm not finding much information describing any benefits or drawbacks of signing the authentication request in real world "...
user avatar
  • 131
2 votes
1 answer
126 views

why use a CA-signed key pair to encrypt SAML2 assertions?

I have a customer who insists upon using only certificate-authority signed key-pair certificates for encrypting SAML2 assertions. In this use case, I hold the private key in my Service Provider, and ...
user avatar
  • 359
4 votes
2 answers
2k views

HTTP Response to a SAMLResponse POST by user agent

Looking at RFC2616, is it acceptable to return an HTTP 200 (page load) as a response to a SAMLResponse post to the SP? i.e. the user-agent loads a page instead of redirecting via a 302 / 303? Looking ...
user avatar
  • 143
0 votes
2 answers
475 views

SSO Log Users Out Based on IP Address

We would like to implement SAML based SSO for our organization. We do not want employees to be able to access specific accounts outsides of specific hours and IP ranges. (We do not want to setup a VPN ...
user avatar
3 votes
0 answers
122 views

Are the default Azure AD Authentication Certificates global?

When authenticating against an AzureAD instance (using WS-Federation and SAML 2 tokens) the relying/authenticating application requests authentication metadata from a fixed URL on the auth servers, ...
user avatar
  • 133
1 vote
0 answers
405 views

Is there a way to configure Azure AD SSO to ignore SP forceAuthn parameter?

I am trying to workaround an annoying cloud based SP initiated sign-on parameter, forceAuthn, the SP includes this in their assertion and is set to true. They do this to ensure compliance with some of ...
user avatar
  • 11
1 vote
1 answer
117 views

If only SP (or IDP) uses Shibboleth in its SAML implementation, can the systems still communicate?

I was reading about Shibboleth's metadata -- https://wiki.shibboleth.net/confluence/display/CONCEPT/Metadata#Metadata-Use(andnon-use)ofMetadata , and how it's used to identify IDPs and service ...
user avatar
  • 155
1 vote
2 answers
399 views

Is there a SAML scenario where you would need an encrypted assertion if you are using SSL?

I'm trying to understand the benefits of encrypting assertions in SAML requests, especially if those requests travel over SSL. As I have read, this isn't required. After authentication, if a service ...
user avatar
  • 155
2 votes
2 answers
127 views

What prevents an identity provider from falsifying authorization in a SAML 2.0 flow?

I'm confused about something in the SAML 2.0 flow. When the initial access to the service provider is made, the service provider must first validate that the user indeed has access and so the service ...
user avatar
  • 155
0 votes
1 answer
148 views

Shibboleth SP two resources and two IDPs

I am looking for some recommendation / advice, with the following scenario: Using apache 2.4 and Shib 2. The setup is SP initiated. Only one Apache web server I am protecting two resources. example....
user avatar
  • 1,092
1 vote
1 answer
116 views

SAML Security Question

I have a SaaS app (App), and it has established SAML trust relationships with two of our clients, Acme and Foo. Acme users log in to App through an IdP-initiated flow. Foo users also log in to App ...
user avatar
  • 245
0 votes
0 answers
1k views

Azure AD Application Proxy Security Concerns + Azure Application Gateway (WAF) Better?

I am still new to security and still learning the basics so was interested in getting some feedback on two Azure services. Edit: We are a school and the application's host 4000+ parent and student ...
user avatar
4 votes
1 answer
6k views

SAML assertion encryption and using same key for encryption as signing

I am working with a company that has product that supports SAML based authentication. We do not facilitate for just in time federation and only accept the user identifier in assertion responses (the ...
user avatar
  • 503
3 votes
1 answer
3k views

SHA1 signature in a SAML request

I'm currently looking at the security of a KeyCloak implementation, which again uses SAML 2.0 identity provider. I'm not too familiar with SAML, but during the authentication, the sent SAMLRequest ...
user avatar
3 votes
0 answers
76 views

SAML - when creating new users, how do I get essential fields?

My company runs a saas product; as we move into enterprise customers, we're getting more and more requests for SSO. I understand the SAML workflow for authentication, and roughly how we'd implement ...
user avatar
1 vote
1 answer
138 views

Fool SAML authentication

My company's has given a corporate membership to Udemy, which is accessible from company's laptop only. I tried to look into it and it uses SAML. If I open my company's Udemy website on any other ...
user avatar
0 votes
1 answer
469 views

Attack vectors with encrypted SAML assertion response

I'm testing a web application which uses SAML SSO. SAML Response has signature and it is verified correctly if data is tampered. But I noticed that when signature is removed completely authentication ...
user avatar
  • 111
1 vote
1 answer
393 views

Is signature validation mandatory if encrypted assertions are sent over HTTPs in SAML 2.0?

We are using SAML Web Browser SSO Profile (SAML 2.0) We have a SP using SAML2.0. All communication between IdP and SP is over HTTPs. If AuthnResponse from IdP is sent over HTTPs, is it mandatory for ...
user avatar
1 vote
1 answer
266 views

Is Browser based flows required for most IdP based Authentication standards?

I'm going to apologize in advance for the rambling nature of this question, I've read a lot about SAML and OIDC and other standards, just trying to understand why browsers seem to be so essential for ...
user avatar