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
- Windows environment variables at appsettings.json
- Which approach is right while creating a service for your update method?
- New Blazor Web App, Password Reset "A valid antiforgery token was not provided"
- No webpage was found for the web address: https://localhost:7002/Category/Add?area=Admin. Why is my URL generated like ?area=Admin instead of /Admin/
- how to get the html for a tag helper in code
- How to share authorization implemented in the server project with the client project in Blazor Web App Auto project?
- Why https is disabled on publish in .NET Core 7.0
- How to set language in a server-side rendering blazor app
- How can I debug server side rendering blazor code in a component?
- ASP.NET Core 6 randomly returning 200 with empty response
- ASP.NET Core MVC : NullReferenceException: Object reference not set to an instance of an object
- ASP.NET Core Identity Custom Register Endpoint
- VS Community 2022 cannot install dotnet-ef when i try to publish
- How does ASP.NET Core Identity ensure username is unique under concurrent conditions?
- In clean architecture, is the presentation layer allowed to communicate directly with the infrastructure layer?
Related Questions in COOKIES
- Loading Google Analytics after the user consents to cookie usage
- Express session is not seened in server code
- Cookie doesn't send different domain django and react
- Storing settings in cookies
- Cant handle Session's cookie when Safari/iOS
- Create new cookie with host only set to false in chrome extension
- 3rd Party cookies error on deployment server
- Access Cookies in TRPC fetch handler
- My project uses cookiebot but when I accept cookies at the start of website it deletes my localstorage data
- Postman receiving cookie but my browser isn't receiving it when I try
- Nextjs: Ability to fetch HTTPS-ONLY cookies using server actions, is there a vulnerability?
- Cant send cookie at res when user using Safari/iOS
- Initialize a singleton from cookies for a ASP.NET Core Razor project
- JS doesn't put cookies after domain change for localhost
- Unable to set cookies from hosted backend (https://dev.abcd.com) to localhost of frontend
Related Questions in IDENTITYSERVER4
- Minimizing IdentityServer4 Round Trips in Microservice Architecture with Ocelot
- Problem with SSL Certificate when the .Net App calls itself in the docker container
- Login with twitter using identity server is not working when using openidconnect
- Call Databricks Api from IdentityServer4 client
- IdentityServer4 "Unknown location" when redirecting to client
- IdentityServer 4 - idsrv and idsrv.session cookies blocked on signin-oidc call
- Getting "A fatal error occurred while creating a TLS client credential. The internal error state is 10011" running IdentityServer4 in Production mode
- How to override application scopes with rolebased scopes from access token in identity server 4?
- NullInjectorError: No provider for PublicClientApplication! MSAL
- How can I get the access token from IdentityServer4 for an external login user which does not even have a password?
- Identity server redirection not working after token expired and getting 302 found
- Identity Server: Refresh Token for the currently Authenticated User
- Angular and ASP.NET OWIN with Azure AD
- How to generate Access Token or Authorization Code without user password in ABP Framework?
- How to NodeApi Authenticate and authorization using identity server 4
Related Questions in AZURE-APP-SERVICE-PLANS
- How do you remove an autoscale rule that refers to a deleted resource?
- Recommended way to Limit Azure Function Service bus Trigger Concurrent message processing when using App Service Plan
- Will just HTTPQueue rule enough for azure app service plan scale out for purely website purpose?
- Azure Function Apps scalability metrics and terminology for Premium tier
- Why do all App Service requests end up in the same instance?
- Azure Function App authentication using Azure App Service "Easy Auth"
- Overwriting Autoscale Rules Of Azure App Service Plan By The Azure Function App?
- How to deploy .net8 & python3 azure function apps to a Elastic app service plan?
- Can anyone else use the app service outbound IP address?
- powershell New-AzAppServicePlan
- how to move multiple apps services from one subscription to another subscription in Azure
- Azure app service plan running out of temp storage
- 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
- Scaling an app service plan with Set-AzAppServicePlan
Related Questions in AZURE-APPSERVICE
- Application settings for production deployment slot in Azure App Services
- Custom Metrics stop saving in App Insight after one hour
- Facing authetication issues after deployed code to app service
- how to deploy flutter in azure app services
- How to override appsettings.json values in Azure app service for an application deployed in Virtual path
- Call RestAPI in AppService from DataFactory
- Azure App Service Application Insights no longer showing request data
- "Docker support must be enabled" in trying to publish to Azure App Service Container from Visual Studio
- How to route requests between ports based on sub-domains?
- Next Auth Azure App Service 500 on production only
- Is there a way to manage users from web app when users are maintained in Azure AD?
- Wordpress - Azure AppService database "rollback"
- Azure App Service - unresponsiveness while connecting to Fluentd
- Disabling Session Affinity in Azure - how to effectively test before making the change
- Unable to access the Azure Web App after deployment from Azure AI Studio with gpt3.5 Turbo model
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 # Hahtags
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");