Questions tagged [owin]

OWIN (Open Web Interface for .Net) defines a standard interface between .NET web servers and web applications. The goal of the OWIN interface is to decouple server and application. Any question around this topic from Sitecore point of view, may use this tag.

Filter by
Sorted by
Tagged with
1 vote
0 answers
40 views

Migrate existing Owin implementation from pre-Sitecore 9

I am migrating an app from Sitecore 8 to 10. The existing app was built with .Net 4.6.1 and uses Microsoft AspNet Identity and Owin for user access. The Startup class uses the OwinStartupAttribute ...
user avatar
  • 75
0 votes
0 answers
25 views

Sitecore 10.1 SSC Sitecore Services Client /sitecore/api/ssc/auth/login conflicts with Sitecore Identity Owin pipeline

I'm running Sitecore 10.1 with default, out of the box Sitecore Identity enabled as per Sitecore.Owin.Authentication.config. Auth for regular users into the Content Editor works. I used to be on ...
user avatar
0 votes
1 answer
36 views

sitecore federated authentication GetOwinContext() doesn't have authenticated user info

I am using Federated Authentication for external users login (Sitecore version 9.2) After the user is authenticated, User.Identity has is external\anonymous and doesn't have the claims returned by the ...
user avatar
0 votes
1 answer
45 views

Sitecore Federated Authentication Pass query strings to External Login Provider

Wondering how can query strings be passed to an external login provider. I am using Sitecore (9.2) Federated Authentication for an external user's login. When I debug, I see the current request has ...
user avatar
0 votes
0 answers
47 views

Sitecore Federated Authentication's Authentication Challenge Nonce is null error

Whenever I use Sitecore's getsignonurl and signin, I am sucessfully authenticated everything works fine. However, when I use the authentication challenge, User.Identity.IsAuthentication is false. But, ...
user avatar
0 votes
1 answer
172 views

Sitecore 9.1 Azure AD Restrict Persistent User creation

I am new to Sitecore Azure AD authentication setup. So I had followed the link (https://www.velir.com/blog/2019/07/01/integrating-identity-server-azure-active-directory-single-sign-sso-sitecore-91) to ...
user avatar
4 votes
1 answer
113 views

Change OIDC OWIN middleware within same Sitecore site

I have an OpenID Connect Identity Provider Processor for my Sitecore 9.0.1 site which is using federated authentication as described in Sitecore's documentation. I'm also generating the sign-in links ...
user avatar
  • 1,079
1 vote
1 answer
254 views

How to modify CookieAuthentication options in Sitecore 9?

In Sitecore 9.2, we would like to change some of the CookieAuthenticationOptions, that are used for Authentication. This is the code we would use: args.App.UseCookieAuthentication( new ...
user avatar
  • 834
3 votes
1 answer
478 views

Identity provider does not respect IdentityProvidersPerSite configuration

I'm working with a multi-site instance running Sitecore 9.2 where I have configured a custom identity provider based on the documentation here https://doc.sitecore.com/developers/92/sitecore-...
user avatar
4 votes
1 answer
885 views

Login with multiple Identity Providers at the same time

I've configured a custom Identity Provider based on this info: http://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-provider-in-sitecore-9-0/ Unsuccessful ...
user avatar
2 votes
0 answers
237 views

Integration with AD B2C: Trigger Owin challenges by policy name

We're using Sitecore.NET 9.1.0. We're trying to trigger register, login and forgot password flows from Sitecore that will be used by end users of our website. After a successful login we want to ...
user avatar
  • 43
0 votes
1 answer
338 views

Sitecore 9.0.2 with Azure AD B2C System.ArgumentException: idp claim is missing Parameter name: identity

I am working on Sitecore 9.0.2 with Azure AD B2C for authentication of end users. My Configurations are as shown below: <pipelines> <owin.identityProviders> <!-- This is the ...
user avatar
1 vote
2 answers
816 views

Could not create instance of type: <my implementation of IdentityProvidersProcessor> No matching constructor was found

I'm using Sitecore 9.1 and following Sitecore's guide in implementing Federated Authentication. I am implementing Sitecore.Owin.Authentication.Pipelines.IdentityProviders.IdentityProvidersProcessor, ...
user avatar
3 votes
0 answers
443 views

Sitecore 9.1 and auth0 integration

I am trying to integrate Sitecore 9.1 and auth0 platform. I was following this tutorial for Sitecore 9.0 - https://blog.baslijten.com/enable-federated-authentication-and-configure-auth0-as-an-identity-...
user avatar
8 votes
2 answers
2k views

Unsuccessful login with external provider

I have setup federated authentication for my Sitecore 9.1 website, to allow end users to login using Azure B2C AD. Our website is following Helix architecture. This is my code: Portal.Website.config: &...
user avatar
  • 834
1 vote
0 answers
559 views

Automatically attach user to external identity

On SC 9.0.2 we want to map an existing user in sitecore automatically to an external identity provider, but get the following error: [InvalidOperationException: Unable to create a user. Reason: ...
user avatar
  • 365
1 vote
0 answers
37 views

How to get current browser url with Azure AD authentication (OWIN) : <owin.identityProviders>

Currently we have the requirement like we want set redirect url as per current browser url So for that we trying to set redirect url custom implementation of IdentityProvidersProcessor , but its ...
user avatar
1 vote
0 answers
92 views

Preventing login and user creation via federated authentication if criteria is not met

I have successfully setup Federated Authentication for the Sitecore client with Azure AD. However we have some additional requirements to meet: A user must be within a given AD group to be able to ...
user avatar
  • 4,114
3 votes
3 answers
1k views

OWIN sign-in links only working for SXA sites NOT configured in MapEntry of IdentityProvidersPerSite

On Sitecore 9.0.1 and SXA 1.6 I'm trying to get federated authentication to work for website visitors using OWIN WSFed following this guide in a multi-site SXA solution. I've gotten everything to ...
user avatar
3 votes
1 answer
163 views

CM server Sitecore 9 Update 1 is hosted on the Azure with XP Scaled didn't see the owin.initialize pipeline

I have used the pipeline profile and found the owin.initialize pipeline isn't available on the CM server which is hosted on the Azure App service. I have used the Sitecore 9 Update 1 - XP Scaled. ...
user avatar
  • 151
3 votes
1 answer
858 views

Unable to override externalUserBuilder in Federated Authentication implementation [closed]

I have implemented facebook login on my Sitecore site using federated authentication. I am trying to override the externalUserBuilder logic to be able to replace the hashed username in Sitecore with ...
user avatar
6 votes
1 answer
3k views

Federated Authentication with ExternalCookie

I have the federated authentication working in Sitecore 9 with a custom external provider, and I see the ExternalCookie being set. However, when I make another request to a secured area (a controller ...
user avatar
  • 207