dependabot[bot] on nuget
dependabot[bot] on nuget
develop
branch and get long over due architectural work done. For anyone with opinions - now is the right time to come up with them.
develop
branch. The multi-targeting (both frameworks and web platforms) costs a lot to maintain. I think that the existing v1
and v2
versions will work for anyone still on those platforms.
Hi everyone,
just wondering if there are anybody ever try to use dynamics 365 channel integration framework (D365 CIF) and do an SSO with the Sustainsys/Saml2?
D365 CIF : https://docs.microsoft.com/en-us/dynamics365/customer-service/channel-integration-framework/authenticate-channel-users
I'm new to SAML workflow and integration so I follow this tutorial for implementin SAML with Azure AD with asp net core 3.1 webapp.
https://matthijs.hoekstraonline.net/2020/04/14/authenticate-an-azure-ad-user-with-saml-for-asp-net-core/
I tested it locally and everything working fine. After that I try deploy it to azure app service and everything still working.
Last I try to add the app to D365 CIF but its not working because there are an infinite loop of authenticating process and keep adding cookie until the header is too long.
As you can see in the screen shot below it will send SAMLRequest (success) then it is redirected to /Saml2/Acs (I guss this is from the sustainsys?) then redirected back to my app homepage but then the SAML request is send again and repeat.
*note
I guess D365 CIF is using an Iframe to displaying the app that implementing SSO.
I've been looking around for 2 days but didn't get any solution.
BasicMetadataReading
branch in the repo now.
authenticationBuilder.AddSaml2("googlesuite", "Google Suite", options =>
{
options.SPOptions.EntityId = new EntityId(Configuration["Authentication:GoogleSuite:Issuer"]);
var identityProvider = new IdentityProvider(new EntityId("https://accounts.google.com/o/saml2?idpid=ID"),
options.SPOptions)
{
AllowUnsolicitedAuthnResponse = true,
SingleSignOnServiceUrl = new Uri("https://accounts.google.com/o/saml2/idp?idpid=ID"),
Binding = Saml2BindingType.HttpRedirect,
};
identityProvider.SigningKeys.AddConfiguredKey(new X509Certificate2("GoogleSuite.pem"));
options.IdentityProviders.Add(identityProvider);
});
develop
branch is now reorganized with the new Metadata library and corresponding tests. All existing code from previous versions has been moved to the legacy
folder. The idea forward is to add back functionality incrementally in a new design. Code and tests can of course be copied from the existing code base where suitable, but when doing so it needs to be reviewed that it follows the new standards.
Hi. I'm trying to debug locally (using ngrok) some mappings made on my Google Suite saml mappings.
But i'm getting this error:
Saml2 Status Message: Invalid request, ACS Url in request https://localhost:44307/Saml2/Acs doesn't match configured ACS Url https://xxx.ngrok.io/Saml2/Acs.
Saml2 Second Level Status: urn:oasis:names:tc:SAML:2.0:status:RequestDenied
Is there a way to force this localhos request to be the ngrok tunnel?
Hi , I am facing an Issue with SustainSys(v2.2) . In CommandResultHttpExtensions, ApplyCookies , Set-Cookie are getting duplicated . If i already set asp.net_sessionid , ApplyCookies is duplicating the SessionCookie also . Can anyone please help me in resolve this issue
You asked the same question on Stack Overflow, didn't you? Well, are you using the Kentor.OwinCookieSaver package i your application?