saml

Verify signature on SAML assertion

空扰寡人 提交于 2019-12-01 04:33:26
问题 I have two signatures, one on the response (which verifies) and one on the nested SAML assertion (which does not). This is the condensed code I'm working with: foreach (XmlElement node in xmlDoc.SelectNodes("//*[local-name()='Signature']")) {// Verify this Signature block SignedXml signedXml = new SignedXml(node.ParentNode as XmlElement); signedXml.LoadXml(node); KeyInfoX509Data x509Data = signedXml.Signature.KeyInfo.OfType<KeyInfoX509Data>().First(); // Verify certificate X509Certificate2

Are attributes allowed in a SAML authentication request?

♀尐吖头ヾ 提交于 2019-12-01 04:20:35
Is it possible to send attributes in a SAML authentication request? <samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" ID="aaf23196-1773-2113-474a-fe114412ab72" Version="2.0" IssueInstant="2004-12-05T09:21:59Z" AssertionConsumerServiceIndex="0" AttributeConsumingServiceIndex="0"> <saml:Issuer>https://sp.example.com/SAML2</saml:Issuer> <samlp:NameIDPolicy AllowCreate="true" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient"/> </samlp:AuthnRequest> Technically, yes, it is possible, since AuthnRequest can contain an

Python library for implementing SAML2 based service provider and identity provider? [closed]

三世轮回 提交于 2019-12-01 00:20:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 23 days ago . I am looking for a Python library which can be used to implement SAML2 based service provider and identity provider. The core library should not depend on any particular web-framework. I am looking for something which is more feature complete and preferably easy to use. Also the library should have more

Use SAML Single Sign-On to obtain OAuth access token or code for using Box.com API

允我心安 提交于 2019-11-30 22:47:44
We have SAML-based single sign-on (SSO) enabled between our company's Intranet Portal and Box so that the users do not use username and passwords to login to Box.com. They just click on a button on Intranet Portal which posts a SAML assertion to Box.com to authenticate. We would like to provide the ability to our users to search their Box documents directly from the Intranet Portal and the Box.com API looks like a perfect fit. However, it requires OAuth access token. The question is: Is there any way to obtain the OAuth token from SAML assertion? The Box Embed allows embedding of folders view

SAML 2.0 SSO for Ruby on Rails? [closed]

风格不统一 提交于 2019-11-30 13:01:48
Where can I dig up a Ruby or Ruby on Rails library for SAML 2.0 SSO. I have a set of enterprise applications that are to be built but need to have federated login from a central authentication system. I have used SAML 1.1 and SAML 2.0 in a Microsoft .Net environment but have yet to see a library that handles both SAML Providers and Consumers for Ruby on Rails. Can someone point me in the right direction or tell me if I need to build the library myself? The best places to look are Ruby Toolbox and Rubygems.org - if it's not there, you may try Github, but your chances are slim now. My rule is:

Central login with SAML and making site to work as identity provider

喜夏-厌秋 提交于 2019-11-30 12:30:12
So my scenario goes like : I have two sites a.com and site b.com and one authentication server cauth.com . what client wants is ... When user lands on a.com or b.com user fills in the login form on respective site , but the action of form will be on cauth.com (cauth.com/authenticate). when user is authenticated on cauth he is loggined on the both sites. I am thinking to implement SAML to achieve the same and flow is like after authentication iDP(cauth.com) will send SAML response to the both the service providers and user will be given access to both the sites . I am novice in SAML and unable

Artifactory: SAML SSO group matching not working

烂漫一生 提交于 2019-11-30 10:01:48
问题 We are using ADFS to allow users to log into Artifactory and basically it works fine. Problem is, that the group memberships aren't recognized. Can anyone tell me what the problem is? Using Artifactory Pro 5.4.4 ADFS 3.0 XML used to transfer the information to Artifactory (I included the mail attribute as well which works fine) <Attribute Name="memberOf"> <AttributeValue>CN=some_group_the_user_is_in,OU=...</AttributeValue> <AttributeValue>CN=my_artifactory_group,OU=..</AttributeValue>

Azure Active Directory Integration with Custom RBAC

大憨熊 提交于 2019-11-30 09:25:10
问题 We have our own web application which performs access control based on the username and associated roles defined locally and maintained in the local database I need to integrate our application with "Azure AD" to avail single sign-on (SSO) so that with the same user-name , we can integrate and access other SaaS applications as well. I think I can achieve this with "Azure ADAL APIs" and "Graph APIs". However, I would like to understand how to define custom user attributes and roles for "Azure

What to present at SAML EntityID URL?

梦想与她 提交于 2019-11-30 08:22:19
I am trying to implement a SSO that is provided by another website. The instructions ask me to enter "issuer" info. Which turns out is equivalent to the EntityID URL in the EntityDescriptor. I am assuming I need to set that URL to some url on my server, but what I cant seem to figure out, is what that URL actually does. I assume a file needs to be placed at that URL with some information, but I can not seem to work out what that info is. So what info is required at the EntityID URL in order for this to work? Anders Abel The requirement is that the EntityId is a URI (not URL, in this case the

How do I talk to ADFS from Java? [closed]

纵饮孤独 提交于 2019-11-30 07:25:39
We have a website running on Caucho Resin. The great majority of the site is JSP/Java. We have our own custom authentication on the site, meaning we aren't using any third party authentication frameworks. We host the website, not our clients. Our large clients want to have their users log into our site with their active directory credentials. For this I'm assuming I will be talking to ADFS with SAML, please correct me if that is wrong. So my question is how do I go about doing that with Java? from what I can tell there is OpenSAML which sounds like it doesn't do everything, and if I want more