saml-2.0

Create SAML Assertion and Sign the response

此生再无相见时 提交于 2020-08-21 19:25:11
问题 I have a Java web application. I want to implement SAML Single-Sign-On login for my application. I have got this GitHub onelogin program to send request and get response. But it was not working properly. I created one account there. But I don't have an enterprise account. When I run the application, it is going to onelogin login page. I tried to login, but it is not returning anyuthing in the response, showing I don't have permission. If I provide wrong credentials also, it is not giving any

Azure AD How to pass userextension attributes to multitenant app

这一生的挚爱 提交于 2020-08-10 18:59:09
问题 In Azure AD i have a multi-tenant Enterprise Application and App registration that are accessed through SAML2. I receive a limited set of users attributes, including tenant-id, email, first name, last name. But the organisation that the user belongs to, has defined extension attributes in their on-premise AD that i want to consume in my application. Also i would like to receive the jobTitle and Department in the application. The organisation says they have set up synchonisation of the

WSO2 Identity Server throwing Nullpointerexception while integrating with ADFS Server

时间秒杀一切 提交于 2020-07-21 06:25:49
问题 I am using the WSO2 Identity Server 5.10.0 and I am trying to implement WSO2IS with an external ADFS Server. I have followed https://docs.wso2.com/display/IS570/Configuring+AD+FS+as+a+Federated+Authenticator example and configure my ADFS as Identity Provider from the WSO2 Admin Console. The server is able to redirect to the ADFS login page but when the ADFS sends a callback to the WSO2IS it is throwing NullPointerException. The complete Stack trace is as follows: [2020-04-02 17:49:56,407]

WSO2 Identity Server throwing Nullpointerexception while integrating with ADFS Server

|▌冷眼眸甩不掉的悲伤 提交于 2020-07-21 06:25:10
问题 I am using the WSO2 Identity Server 5.10.0 and I am trying to implement WSO2IS with an external ADFS Server. I have followed https://docs.wso2.com/display/IS570/Configuring+AD+FS+as+a+Federated+Authenticator example and configure my ADFS as Identity Provider from the WSO2 Admin Console. The server is able to redirect to the ADFS login page but when the ADFS sends a callback to the WSO2IS it is throwing NullPointerException. The complete Stack trace is as follows: [2020-04-02 17:49:56,407]

Okta Integration via SAML, Facing Okta loop issue from Tomcat 9.0.30

旧巷老猫 提交于 2020-07-10 10:25:34
问题 We integrated our Applications with Okta via SAML. The Okta integration works till Tomcat 9.0.29 Server but from Tomcat 9.0.30, facing Okta Loop issue. Tomcat Logs: There were no errors Browser: Issue occurs in IE and Chrome. SAML Status: <saml2p:Status xmlns:saml2p=“urn:oasis:names:tc:SAML:2.0:protocol”><saml2p:StatusCode Value=“urn:oasis:names:tc:SAML:2.0:status:Success” /></saml2p:Status> Added below code to Context.xml of Application as per it required from Chrome v80 (Cookie Behavior)

Okta Integration via SAML, Facing Okta loop issue from Tomcat 9.0.30

天大地大妈咪最大 提交于 2020-07-10 10:23:46
问题 We integrated our Applications with Okta via SAML. The Okta integration works till Tomcat 9.0.29 Server but from Tomcat 9.0.30, facing Okta Loop issue. Tomcat Logs: There were no errors Browser: Issue occurs in IE and Chrome. SAML Status: <saml2p:Status xmlns:saml2p=“urn:oasis:names:tc:SAML:2.0:protocol”><saml2p:StatusCode Value=“urn:oasis:names:tc:SAML:2.0:status:Success” /></saml2p:Status> Added below code to Context.xml of Application as per it required from Chrome v80 (Cookie Behavior)

Not able to SignOut using Saml2 from Sustainsys

断了今生、忘了曾经 提交于 2020-07-09 14:00:47
问题 This should be redirecting my app to my AdFs signOut Page, and then redirect me back to my app. However, it simply redirects me to my route "/logout". Watching the log on my ADFS server nothing happens. [AllowAnonymous] [HttpGet] [Route("api/logout")] public async Task<IActionResult> Logout() { return SignOut(new AuthenticationProperties() { RedirectUri = "/logout" }, Saml2Defaults.Scheme); } SignIn works fine. I even tried this same approach, but does not work. Here, the ReturnUrl method

spring-security saml2 : How to obtain the current user?

我的未来我决定 提交于 2020-06-27 16:52:06
问题 I'm working with spring-security and spring-security-saml2-service-provider with versions 5.2.0.RELEASE. I'm trying after authentication by IDP to obtain the current Assertion in order to map it to a user in our local system. I use this code to obtain the Saml2Authentication object @Component @Log4j public class EventListener implements ApplicationListener<InteractiveAuthenticationSuccessEvent> { @Override public void onApplicationEvent(InteractiveAuthenticationSuccessEvent

How to create a valid SAML 2.0 Assertion with OpenSAML library in Java

爷,独闯天下 提交于 2020-06-22 13:15:45
问题 I am new to the OAuth2 concepts, SAML assertion and OpenSAML library in Java. I need my Java code to create a saml 2.0 assertions (may be XML string) using OpenSAML library. How we can create it? Please share the code and XML SAML 2.0 assertion. 回答1: I had created the SAML 2.0 assertions in my code using OpenSAML library (http://mvnrepository.com/artifact/org.opensaml/opensaml). The XML O/P is also shown below. import java.util.HashMap; import java.util.Iterator; import java.util.Map; import