saml-2.0

URL fragment lost as part of SAML token authentication; workaround / standard pattern?

这一生的挚爱 提交于 2019-12-10 15:23:43
问题 Several web application authentication protocols (like WS-Federation and the SAML protocol, i.e., so-called 'passive' protocols, and apparently also ASP.NET Forms authentication, see this StackOverflow question, and AppEngine, see this GWT bug comment) lose the original 'URL fragment', i.e. the part after the #-sign. What happens is roughly the following: in a clean browser (so no cached info/cookies/login information) I open URL (1) http://example.com/myapp/somepage?some=parameter#somewhere.

How to Decrypt EncryptedAssertion using System.Cryptography

送分小仙女□ 提交于 2019-12-10 13:25:03
问题 The Identity provider is encrypting the Saml Assertion using the functions of component pro Dim encryptedSamlAssertion As New EncryptedAssertion(samlAssertion, encryptingCert, New System.Security.Cryptography.Xml.EncryptionMethod(SamlKeyAlgorithm.Aes256Cbc)) At the Service Provider I am trying to Decrypt the assertion. But I cannot use component pro. I have to use System.Security.Cryptography X509Certificate is used for encrypting and decryption Aes256Cbc is the Encryption Algorithm Please

Using Kentor.AuthServices.StubIdp as production IDP

北慕城南 提交于 2019-12-10 13:17:24
问题 I'm trying to implement an IDP (SAML2) server inside my application. I don't want any of my partners to ask our customers to register on their side given the fact that my application has all the data needed. I'm not very familiar with the SAML2 protocol. I found the project Kentor.AuthServices.StubIdp to be the most interesting because it implements everything I need. I'm also aware that it's not built for production purposes. I planned to build the IDP on top of StubIdp, because I can't

Python flask saml throwing saml2.sigver.SigverError Error Message

こ雲淡風輕ζ 提交于 2019-12-10 13:02:25
问题 Has anyone succesfully implemented flask-saml using Windows as dev environment, Python 3.6 and Flask 1.0.2? I was given the link to the SAML METADATA XML file by our organisation and had it configured on my flask app. app.config.update({ 'SECRET_KEY': 'changethiskeylaterthisisoursecretkey', 'SAML_METADATA_URL': 'https://<url>/FederationMetadata.xml', }) flask_saml.FlaskSAML(app) According to the documentation this extension will setup the following routes: /saml/logout/: Log out from the

Kentor HTTPModule- ADFS Login SAMLResponse ERROR

最后都变了- 提交于 2019-12-10 12:18:17
问题 In our ASP.Net project, I am using Kentor.AuthServices.HTTPModule and have configured ADFS. Have given the SAML Assertion Consumer Binding as "redirect" and Trusted-URL as "ourSiteUrl". After ADFS login is successful, it will redirect to ourSiteURL/AuthServices/Acs?SAMLResponse=... and it throws an Exception Kentor.AuthServices.Exceptions.InvalidSignatureException: Cannot verify signature of message from unknown sender win-3obaenpbsol.dc10.inapp.com/adfs/services/trust. What could be the

How to download or know the URL of WSO2 Identity Server's SAML metadata?

可紊 提交于 2019-12-10 11:46:03
问题 What would be the URL for the newly set up SAML SSO's metadata URL, or how could I download this in XML format from WSO2 Identity Server (version 4.6.0) acting as IdP? Thanks, Tamas 回答1: AFAIK there is no option to auto-generate metadata files for IS. You have to manually write the metadata file. An example is as follows, taken from this blog post. <md:entitydescriptor entityid="https://localhost:9443/samlsso" validuntil="2023-09-23T06:57:15.396Z" xmlns:ds="http://www.w3.org/2000/09/xmldsig#"

SSO implementation using Shibboleth with Google App Engine java

扶醉桌前 提交于 2019-12-10 10:43:16
问题 I am developing an application on Google App Engine in java. In this application I have to implement SSO using SAML2 . My google app engine application will act as service provider and identity provider will be a separate server. I have just to write the SP side of SSO. I am new to SAML and did much google on SAML and come to basic flow of user authentication in SSO. I found opensaml library that can be used to handle SAML messages between Idp and SP. I also found Shibboleth which is the

Delphi & SAML (Web apps or desktop apps)?

两盒软妹~` 提交于 2019-12-10 10:35:55
问题 is the SAML protocol (Sing Sign ON) used soley for web apps and web services, or is it also used for standard applications? REVISED: I am looking for some windows (Standard Applications (not web based)) protocols for Single Sign On 回答1: If you are looking at Windows specifically, why not use Kerberos and Integrated Windows Authentication? It's built into Active Directory and Domain Controllers. It doesn't really work once you start crossing into the Internet and different security domains but

How can Service Provider reinforce password prompt at IdP server?

末鹿安然 提交于 2019-12-10 10:12:59
问题 SAML 2.0 with the "POST" Binding: Is there any way for Service Provider to ask IdP for user re-authentication for the specific request? I mean first time web user enters login/password, than it stores some sort of cookie in a browser memory so that it remembers the user and does not ask him for password again next time inside the session. I want SP be able to enforce re-authentication which means a command to ask user for password again The only similar thing I found ( ForceAuthn ) and it

What is the purpose of SAML 2 Subject Name Identifier?

╄→гoц情女王★ 提交于 2019-12-10 02:33:39
问题 When doing authn against a SAML 2 IdP, what does the Subject Name Identifier supposed to be for? Does it track each user login? I'm wondering if my SAML 2 service provider application should track these for different users. Since they are transient, they can be different for different logins (so I would need to track using a collection hanging off the user account). 回答1: The <NameIdentifier> element is a SAML 1.1 concept. It has been superseded by the <NameID> element which identifies the