I have an IDP server implemented by Duende IdentityServer assume which is hosted on idp.com and there are two separate ReactJS applications hosted on app.mysite.com and profile.mysite.com and they are using JWT token for authentication and authorization process. now when I login into app.mysite.com through idp.com profile.mysite.com is un unauthenticated and needs another login. I use the same client configuration for both of these sites. I know there are some methods such as using an IFRAME inside client code to share the JWT token between these two app but I am looking for a built-in approach inside the Identity server to solve this issue?
How to Authenticate two subdomain by one login in IdentityServer?
1k views Asked by Navid_pdp11 At
1
There are 1 answers
Related Questions in C#
- How to call a C language function from x86 assembly code?
- What does: "char *argv[]" mean?
- User input sanitization program, which takes a specific amount of arguments and passes the execution to a bash script
- How to crop a BMP image in half using C
- How can I get the difference in minutes between two dates and hours?
- Why will this code compile although it defines two variables with the same name?
- Compiling eBPF program in Docker fails due to missing '__u64' type
- Why can't I use the file pointer after the first read attempt fails?
- #include Header files in C with definition too
- OpenCV2 on CLion
- What is causing the store latency in this program?
- How to refer to the filepath of test data in test sourcecode?
- 9 Digit Addresses in Hexadecimal System in MacOS
- My server TCP doesn't receive messages from the client in C
- Printing the characters obtained from the array s using printf?
Related Questions in AUTHENTICATION
- Authenticate Flask rest API
- Sends a personalised error message from the back-end to the front-end with Nuxt-auth
- How to connect Spotify PKCE Authorization Boilerplate to Login-Button in React
- Laravel SPA auth with Sanctum
- _supabaseClient__WEBPACK_IMPORTED_MODULE_1__.supabase.auth.signIn is not a function
- My openID Authentication return 'You must have either https wrappers or curl enabled.'
- How to detect the Minimization of Custom Chrome Tabs on Android?
- Wordpress redirect to homepage after successfully logged in
- How to modify the prebuilt UI of authentication in aws amplify version 6 in React Native
- Creating a login system for my website, navlist not working?
- Receiving 400 bad request on post when customer auth handler is used
- Creating Azure B2B login system with Vue.js frontend & Python Django backend
- Gradio chatbot: how to export individual conversation histories?
- Set-Cookie header not forwarded by nginx to the client
- git asking for authentication when auth.json is present while running composer update
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 DUENDE-IDENTITY-SERVER
- What are the purposes of the different cookies created by IdentityServer?
- Cookie not being set when using Blazor server App with individual authentication hooked up with Duende IdentityServer
- I can't pass AntiforgeryToken to external project endpoint
- How to override application scopes with rolebased scopes from access token in identity server 4?
- Implementing Second Factor Authentication in ASP.NET Core Identity with Identity Server
- IdentityServer6 - redirect to login page failed (404 error)
- External (Google, Microsoft) Login with ASP.NET Identity
- Unable to generate a cookie - Duende Server
- ASP.NET Core Authentication Cookie with custom ITicketStore return wrong user
- Identity Server: Refresh Token for the currently Authenticated User
- Error: "OnStarting cannot be set because the response has already started" at GetAuthorizationContextAsync(String returnUrl) (IdentityServer)
- How to Modify Duende IdentityServer 6.2.3 in .NET Core for Google Authentication with Refresh Tokens?
- Why does .NET Core data protection invalidate my refresh token in Duende identity server?
- Protecting an API with Duende Server
- Customize log in view for Duende IdentityServer
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?
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)
First of all, if you have 2 CLIENTS, you should configure 2 separate configurations for both of them.
Afer separation of clients you should rely on cookie set on
idp.comafter first authentication. (Good to know - How to setup cookie authentication basic cookie authentication: https://learn.microsoft.com/pl-pl/aspnet/core/security/authentication/cookie?view=aspnetcore-6.0)Anyway, if you configured IdentityServer properly, it handles cookie authentication "out-of-the-box" - so probably the only thing you have to do is to Signin the user.
When the youser want to login to second application, after start of the flow (eg. code flow) and redirect to the
idp.com,idp.comknows that the user is already signed-in (cookie) and should immediately generate token and redirect back to the return url.If you need you can adjust custom behaviours using
IProfileService.