I have a weird issue which occurs on my asp.net MVC app with Owin Oauth authentication/authorization, while it's load balanced. This application acts an Oauth endpoint , our client applications connects using Dotnetopenauth. A single server deployment have no issues at all. I tried few fixes available on internet - Kentor cookie saver, systemwebcookiemanager, session start event etc. But nothing helped. My application is using HTTPS every time , we are using Citrix netscaler for load balancing , SsL offloading. Please help.
Owin Oauth occasional too many redirects only on load balanced environment
413 Views Asked by user1597990 At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in OAUTH-2.0
- Not getting refresh token with google oauth2
- SoundCloud Authentication Consistently Returns 401 invalid_grant For Some Users
- How can I share Azure Active Directory authentication between server side and client script?
- OAuth2 and API Json request not working with jQuery Call
- Flask-Restful, oauth, and Salesforce
- Bearer token in MVC controller to access Web API
- Revoking OAuth tokens in Mule
- how to signup user using google-plus integradation in web?
- Need to run getAuthToken twice before receiving access token, why?
- chrome.identity.getAuthToken and refresh token?
- dropbox api authentication (Error: [400] 'invalid_client')
- Retrieve Google Sites's Domain Index feed using OAuth 2.0 with Service Account
- hello.js: Is it possible to set the provider's settings dynamically?
- How to share developer account at LinkedIn
- Linkedin Unsupported POST target
Related Questions in DOTNETOPENAUTH
- Integrating social networks authentication. Asp.Net MVC
- Implementing custom grant types in DotNetOpenAuth
- Dotnet open auth with Facebook and Email/Password login with aspnet_membership tables
- C# DotNetOpenAuth Oauth2 Client.AuthorizeRequest causes 404
- How to set up Web API to allow Acces Token in the URL as a parameter with DotnetOpenAuth in WEB API 2
- NullReferenceException in DotNetOpenAuth
- Two OpenID Authentication Responses Returning from Yahoo using Internet Explorer
- How to run DotNetOpenAuth Demo?
- Using OpenAM OAuth2 with MVC4 and OAuthWebSecurity
- ASP.NET Web API with OpenID Authentication
- Some questions about dotnetopenauth
- Upgrade to DotNetOpenAuth 3.4.6.10357 causes "CS1501: No overload for method 'OpenIdSelectorScripts' takes 3 arguments" error
- Does anybody know why Yahoo! OpenID login with DotNetOpenAuth stopped working?
- DotNetOpenAuth ASP.NET MVC 3 Session Issue
- Salesforce DotNetOpenAuth / Oauth Remote Access Problems
Related Questions in OWIN-MIDDLEWARE
- Global Error Handling in Service Fabric Stateless Web API
- Exception when OWIN Middleware AuthenticationHandler AuthenticateCoreAsync returns null
- How to intercept 404 using Owin middleware
- Programmatically redirect unauthorized users using Microsoft.Owin.Security.OpenIdConnect
- Owin Middleware
- Is it possible to login in ASP.NET WebApi application with Individual account , Microsoft account and Azure AD account
- How to Manage Two Kind of User with seprate Table in asp.net mvc?
- login to an custom oauth2.0 server using the same tokens issued by the auth server
- How UseWindowsAzureActiveDirectoryBearerAuthentication validates the Azure Active directory Bearer token?
- Why use OWIN TestServer?
- Self-Hostable and IIS-hostable OWIN project
- How to add a request identifier to OWIN requests using Serilog?
- ASP MVC 5 HttpContext.Current.Request.IsAuthenticated is still TRUE after IIS app pool recycle
- Should I use OwinContext's Environment to hold application specific data per request
- Handling Consent in .Net Framework 4.8 Web Forms/OWIN middleware app and Microsoft.Identity.Web
Related Questions in NETSCALER
- Net Scaler cookie Insert usage
- Tomcat 8 Netscaler SSL (on both)
- https traffic though a proxy squid/ha/nginx pass through
- Netscalar redirect request to OpenShift route
- Owin Oauth occasional too many redirects only on load balanced environment
- SSL, netscaler and apache configuration help needed
- Load balance sessions vs requests
- IIS -IP Address and Domain Restrictions for LoadBalanced app using Netscaler
- Policy extension quits with terminating execution, function exceeded time limit
- Pester for Connect-NetScaler
- HTTP Error 415 Unsupported media type on a specific server - How to find the issue?
- RegEx matching URLs that are NOT in my domain
- Apache ReverseProxy Netscaler Gateway abort request because invalid characters in Set-Cookie
- ansible - Append string to each list items stored in a variable
- Netscaler - Passtrough SAML Auth
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Ask the Netscaler admin to
1: Change LB persistance to something else than cookie based persistence (some auth services do not like to have cookies injected)
If the above does not help ask Netscaler admin to
2: Try to disable integrated cache feature and see if the problem goes away. The reason for this suggestion is due to a bug where a MAY_CACHE rule caches content with session cookies. your session cookie values will change pre <-> post login and you will end up with a redirect loop. (Server says user not authenticated, auth server says user is already authenticated)
If option 2 solves your problem i can dig up the details of the bug and how to avoid the bug while still keeping integrated cache feature on.