saml-2.0

Invoke SAML IdP from Javascript

左心房为你撑大大i 提交于 2019-12-23 17:12:01
问题 Again I need the wise advise of the Community!!! I have to integrate several Web Applications in my SSO system. The IdP is Active Directory Federation Sevices (ADFS2) and the SP's are Weblogic Managed Servers. I am using HTTP-POST binding for the SP-initiated Use Case in the Web SSO profile. This setup is working and even I have implemented the SLO for WLS, great! but, there is always a but... I have an application that can be accessed for unauthenticated users, guest users . When the user is

Azure AD On-Behalf-Of with oAuth & SAML

三世轮回 提交于 2019-12-23 12:55:42
问题 We're using the Azure AD On-Behalf-Of flow for connecting a user to several services through a single API gateway. Now we'd like to add another service (Nextcloud, synced through LDAP) which only supports SAML 2.0 and no oAuth2. Is it possible to somehow convert an oAuth-Token into a SAML-Token, maybe through an Azure AD API? Or is there some other way to connect this service I maybe haven't thought of? 回答1: This is not possible currently. Also the authentication libraries (ADAL/MSAL) do not

SSO using SAML 2.0 for Scala Play web application

放肆的年华 提交于 2019-12-23 11:55:19
问题 I am building a scala play web application and I need to build the SSO functionality with an IdP which support SAML v2.0. In addition to SSO, I need to build authorization mechanism within the application based on the roles received from IdP as an attribute of Authentication Assertion message. I am new to SAML and SSO area. Based on some quick learning about the SAML and available module options in Play scala, I see below options to use with scala play web application, Play-pac4J (for

passport-saml and SAML encryption

主宰稳场 提交于 2019-12-23 09:13:46
问题 I'm new to passport and passport-saml , and I'm trying to build a Node.js server that uses our University's Shibboleth identity provider for single sign-on. I'm pretty close to getting it all working, but I'm hitting a snag during the /login/callback that I think is related to the encryption configuration. I am able to redirect the client to the sign-in page, and after a successful sign-in, the IdP does a POST back to my /login/callback route. Then I get this error: Error: Invalid signature

Correct AuthnRequest to Azure AD/idp

送分小仙女□ 提交于 2019-12-23 05:49:10
问题 I keep getting "AADSTS75005: The request is not a valid Saml2 protocol message." when I try to send an AuthnRequest to Azure AD/idp. The XML looks like this before I zip it, convert to base64string and url encode the message. <samlp:AuthnRequest xmlns="urn:oasis:names:tc:SAML:2.0:metadata" ID="ide13dd575-3f6c-4131-9b9d-e12c644cf18f" Version="2.0" IssueInstant="2016-11-14T14:28:27.5450323Z" xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"><Issuer xmlns="urn:oasis:names:tc:SAML:2.0:assertion"

Single Sign on for .NET

こ雲淡風輕ζ 提交于 2019-12-22 08:35:57
问题 I have been trying to implement a WEB SSO service provider plugin for .NET web applications using C#. I will be using shibboleth Identity provider. I have implemented the same for java applications using OpenSAML library. I want to know which library is used to implement it in .NET applications. Any pointer or suggestion is welcome. 回答1: There are no .NET libraries as I know. But there are some projects online you may take a look. Example and basic SSO. 回答2: Kentor.AuthServices (or Kentor

Is there a SAML library for The Go Language?

﹥>﹥吖頭↗ 提交于 2019-12-22 05:53:25
问题 I see that the goauth and go-oauth OAuth libraries have been written for the Go Programming Language, but a couple of hours of searching online turns up nothing for SAML. I would like to use Go to implement SSO support using SAML for a web service, but without a SAML library for Go it looks like I will have to "wrap" the SAML logic in a separate service, implemented in another language. Does anyone know of a Go-friendly SAML library, or maybe some some trick for using a Java, C, or PHP

Keycloak IdP SAML 2 Export of XML metdata to an SP

半城伤御伤魂 提交于 2019-12-22 05:36:16
问题 I'm using Keycloak version 1.6.1, newly installed as a standalone application. Keycloak should act as an IdP (Identity provider) for an SP (Service Provider) called Tableau. I have read from this page: http://blog.keycloak.org/2015/03/picketlink-and-keycloak-projects-are.html ... Keycloak from being Identity Broker grew into being fully fledged Identity Provider While it was an Identity Broker, it is now also an Identity Provider. My question is then: I have exported the SP XML Metadata from

ADFS/SAML2.0 - How to set Claim Rules through Federation Metadata?

 ̄綄美尐妖づ 提交于 2019-12-21 22:17:38
问题 I'm trying to implement a SAML 2.0 authentication against Windows ADFS for a web application. So far I succeeded in authenticating and getting what I need from ADFS by manually configuring the Relying Party Trust and the assigned Claim Rules. Now I want to provide federation metadata for my application to make it easier to set up the required stuff in ADFS. However I can't figure out how to pass the required Claim Rules in that metadata. Here's what I have so far: <?xml version="1.0"?>

Spring security Saml - Time difference between SP and IDP

巧了我就是萌 提交于 2019-12-21 20:55:08
问题 I am looking for a way to increase the expiration time of my saml messages. I use Spring Security with SAML 1.0.0-RC2. At this moment, if the servers** time are too different, e.g. 5 minutes, I got following error: HTTP Status 401 - Authentication Failed:Error validating SAML message: SAML response is not valid; nested exception is org.opensaml.common.SAMLException: SAML response is not valid I want to set the expiration time to 10 minutes, to prevent those errors. I have been looking at the