I'm going to move sso server application (ASP.NET CORE DOTNET 6) from app service APS1 located in service plan AP1 to new app service APS2 located in different service plan APS2 (can't use Change service plan due to azure restriction on regions and resoruce groups). I cloned sso app from APS1 to APS2, added certificate and switch custom domain from APS1 to APS2. So after the change we have the same application, but located in another app service plan and another app service, under excatly the same domain. What I'm trying to understand is why cookie issued by app located in APS1 is not accpted by the same application, moved to APS2 under exactly the same domain which was switched from APS1. I tried to perform the same operation using sample app from https://learn.microsoft.com/en-us/aspnet/core/security/authentication/cookie?view=aspnetcore-6.0 but with the same results - cookie is not being recognized after switching domain from APS1 to APS2.
Cookie not recognized when switched domain between app services
317 Views Asked by mbiernatek At
1
There are 1 best solutions below
Related Questions in ASP.NET-CORE
- ASP.NET 5 Class Library - Nuget package Web.Config transform
- Asp.Net 5 correct way to access logging config file from Startup.cs
- What is the difference between 'dependencies' and 'frameworkAssemblies' in project.json?
- Getting absolute URLs using ASP.NET Core
- How to add Project Reference in asp.net 5 application
- Configure the authorization server endpoint
- Observer for fire&forget Task
- IApplicationBuilder exists in both Microsoft.AspNet.Http.Abstractions and Microsoft.AspNet.Http
- What frameworks are available in ASP.NET Core (ASP.NET 5) applications?
- How do I include 'System.Runtime.Serialization.Json' namespace in my VSCode project on Mac OS X?
- How to suppress warnings when building an ASP.NET 5 project?
- Dependency Injection in asp.net 5 custom classes, what is the correct way?
- How to access IConfiguration property from Controller in ASP.NET 5
- Getting a scoped component from a IDocumentStoreListener
- How is execution passed from the clr to Startup class (startup.cs)?
Related Questions in COOKIES
- Scrapy encountered http status <521>
- NodeJS not getting cookie
- How to accept cookies when using a webservice - Android?
- I Want to get the page count using cookie
- Superagent share session / cookie info with actual browser
- CookieContainer does not store cookies for internationalized domain names
- Setting a cookie in Wordpress functions.php - cant echo it using an other function
- JavaScript's document.cookie does not replace cookie in the subdomain
- How to assign cookie expiry date?
- How to read a JavaScript cookie?
- How can I redirect to an error page in my Play app?
- Python - Cookies & BeautifulSoup
- Express.js CookieParser does not get Angular.js $cookies
- Check Cookies AND Session in Same IF Statement
- How do I read the value of a cookie that comes with a cross domain image?
Related Questions in IDENTITYSERVER4
- Role based Authorization on WebApi Controllers in IdentityServer4?
- No storage mechanism for grants specified. Use the 'AddInMemoryStores' extension method to register a development version
- How to implement Windows Authentication with IdentityServer 4
- Identity Server Difference between IdentityServer4.EntityFramework and IdentityServer4.AspNetIdentity
- Storage of OAuth access tokens in Javascript clients (e.g. Angular)
- Client registration and login page with Identity server 4
- Google Auth not returning a consistent ID with IdentityServer4
- IdentityServer4 RequireConsent true hangs
- Get current user name in IdentityServer4 & ASP.net Core
- Protecting .NET framework 4.x web API with Identity server 4 in
- Sharing of JWT Tokens
- Can I use IdentityServer4 spa JS UI instead of asp .net core mvc?
- Does IdentityServer4 have API to validate an access token?
- IdentityServer4 IdentityServer3.AccessTokenValidation
- How to get id_token along with access_token from identityserver4 via "password" grant_type?
Related Questions in AZURE-APP-SERVICE-PLANS
- Azure App Service - CPU Percentage of instance vs plan
- Facing issue with application after Deployment to Azure App Service
- Deploy two Azure App Services to the same App Service Plan using idempotent ARM TEMPLATE
- Azure App Service Tracing
- Azure Function App do not display Keys when created hosting from an App Service Plan
- App service plan calculation for multiple app in single app service plan and its scalability
- Azure Function slow response on first HTTPS call, with Always On ( same with ASP.NET Core Web API )
- I am seeing 502 errors reported in Diagnose and Solve for my Azure App Service
- What is the difference between Maximum Burst and Maximum Scale Out Limit in Azure Functions App Service
- Azure App Service : deployment using pipelines: EnvironmentError: [Errno 28] No space left on device
- How to Determine Azure App Service Plan SKUs Available in a Specific Subscription/Location Before Creation?
- Scaling an app service plan with Set-AzAppServicePlan
- An API (FastAPI & Azure function) endpoint with content type of application/x-www-form-urlencoded not working when deployed in app service plan
- Azure Appservice plan instance restart does it affect performance
- how to move multiple apps services from one subscription to another subscription in Azure
Related Questions in AZURE-APPSERVICE
- Logic App Authentication to Azure App Service
- How to access Azure Maps API from browser using Azure App Service Active Directory authentication?
- Static ip for azure app service using vnet integration
- Azure: How to fix "The policy requires the caller '...' to use on-behalf-of (OBO) flow" when accessing Key Vault from App Service?
- Why Azure WebJobs blade is showing no webjobs
- How to decode `X-ARR-ClientCert` header using Python?
- Access azure container registry (ACR) by role assignment for azure app service in Terraform
- How to set .env for react app deployed with azure devops pipeline on app service
- Service principle assign to who? ACR or App service?
- How to find the NPM code in Azure app Service Linux
- Azure - Copy file to FTP every 10 minutes
- Azure App service and Angular SSR application
- I am seeing 502 errors reported in Diagnose and Solve for my Azure App Service
- Permission issue + Azure AD
- Azure TLS Certificate changes clarification
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?
What helped was to set the same application name with:
builder.Services.AddDataProtection().SetApplicationName("appName");