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
0 votes
1 answer
77 views

Sitecore 10.3.1 - Could not find property 'clearroleswhensignin' on object of type: Sitecore.Owin.Authentication.Configuration.DefaultIdentityProvider [closed]

In the process of upgrading to Sitecore XP 10.3.1 from 10.2 I got this error after deploying our code. We use a custom identityprovider that has the property set.
sitecorepm's user avatar
0 votes
1 answer
184 views

Multiple OpenIdConnectAuthentications in ASP.NET Framework Authentication Types

I'm trying to use two separate OpenIDConnect auth options in my ASP.NET Framework app. In my IdentitySetup I register two Auth methods: app.UseOpenIdConnectAuthentication(new AuthOptionsOne()); app....
Ollie Armitage's user avatar
2 votes
2 answers
412 views

Sitecore 10.2 Auth0 Login with post registration form: Cannot retrieve claims from User.Identity

I have integrated Auth0 as an Owin identity provider so that in the future I can manage website users via the Auth0 platform. After registration the user should be redirected to a form asking for some ...
salted's user avatar
  • 123
2 votes
3 answers
404 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 ...
fgantt's user avatar
  • 85
0 votes
1 answer
160 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 ...
manaslu's user avatar
  • 397
0 votes
1 answer
195 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 ...
manaslu's user avatar
  • 397
0 votes
0 answers
166 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, ...
manaslu's user avatar
  • 397
0 votes
1 answer
330 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 ...
Prabhu Ranganathan's user avatar
4 votes
1 answer
233 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 ...
Jeroen's user avatar
  • 1,214
2 votes
1 answer
410 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 ...
Hos's user avatar
  • 884
3 votes
1 answer
843 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-...
Christian Hagelid's user avatar
4 votes
1 answer
1k 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 ...
Jeroen Breuer's user avatar
3 votes
0 answers
345 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 ...
damary's user avatar
  • 63
0 votes
1 answer
397 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 ...
SitecoreNoob's user avatar
1 vote
2 answers
1k 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, ...
Emanuele Ciriachi's user avatar
3 votes
0 answers
563 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-...
Dionis Takac's user avatar
8 votes
2 answers
3k 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: &...
Hos's user avatar
  • 884
1 vote
0 answers
711 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: ...
Luuk's user avatar
  • 375
1 vote
0 answers
66 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 ...
Rajendra Patil's user avatar
1 vote
0 answers
107 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 ...
Kasaku's user avatar
  • 4,164
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 ...
Mark-Danney's user avatar
3 votes
1 answer
183 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. ...
Toan Vo's user avatar
  • 151
3 votes
1 answer
1k 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 ...
Durga Bose's user avatar
6 votes
1 answer
4k 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 ...
Watson's user avatar
  • 207