I have two applications using the same authentication and authorization service. App one is for user management(can only be accessed by the system administrator), and App 2 is for performing tasks and can only be accessed by users added by the system administrator in App one. The system administrator cannot access App two. When I sign into App one, and later try to sign in to app two in the same browser, I am not able to because the access token for the user in App one is in the local storage, so I need to first sign out of App one, then sign into App two. How can I sign into both the applications using the same browser?? I am using oidc-client.
Run two instances of a react application using OAuth2 in the same browser
576 Views Asked by Eve At
1
There are 1 best solutions below
Related Questions in REACTJS
- What is `_dereq_()` inside React?
- React TypeError: React.renderComponent is not a function
- React - saving a component in the ref callback
- React Rails component: manually triggering a re-render
- React, ES6 - getInitialState was defined on a plain JavaScript class
- How to get multiple selected options value in React JS?
- React.render replace container instead of inserting into
- reactjs datagrid use html
- props is not initialized in react component
- How to display xml data using Reactjs
- hooking up the data model in ReactJS - syntax
- ReactJS: How to use an immutable empty array or object
- How to use Sinon.js FakeXMLHttpRequest with superagent?
- React select onChange is not working
- ReactJS - Tutorial Comment System > Threaded commenting
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 LOCAL-STORAGE
- Using html5 localstorage instead of cookies with passport.js
- Javascript: localStorage.getItem(key) not working
- What is the minimum "acceptable" delay for a local storage in an interval loop (for "auto-saving")?
- Ionic local storage and routing
- Android How to save msg into local storage?
- Get image and save in storage
- In angularjs how do you catch an error for ngStorage when localStorage is full?
- Sort object by array within array?
- Storing the last input text whilst using the POST method with PHP
- can i save data of an my app user in a file not data base
- How to save number of times a user has tapped on a view
- How do I clear localStorage with a button?
- Does Python have a default Caching service
- How to increase size of local Storage for sencha app
- Use LocalStorage in WinForms WebBrowser Control - change event not recieved
Related Questions in OPENID-CONNECT
- OpenID Connect Account linking
- Authentication with OAuth and JWT but without OpenID Connect
- How to retrieve an OpenID Connect Identity Token from a cookie
- Windows Live Open ID Connect/Oauth 2.0 How to use for SSO with Apache mod_auth_openidc
- Get the user's email address from Azure AD via OpenID Connect
- Validate an Access Token at the Resource Server and Respond Accordingly
- Google OAuth: What do the various fields in id_token stand for?
- Role based Authorization on WebApi Controllers in IdentityServer4?
- Does OpenID Connect support resource sharing
- Manual accesstoken generation using OpenIdConnect Server (ASOS)
- Failing Okta OAuth2 token validation in AspNetCore
- OpenID Connect Standard: Authorized Party azp Contradiction
- Storage of OAuth access tokens in Javascript clients (e.g. Angular)
- Implementing SSO using OpenID Connect and usage of tokens
- Azure AD OpenIDConnect + ASP.NET Core - Authenticate and Extra Permissions/Token?
Related Questions in OIDC-CLIENT-JS
- Identityserver3 - Select Identityprovider a client should use
- Oidc-client with IdentityServer3 - Angular2, how to logout and login properly
- Identityserver not returning User after successful signin redirect
- IdentityServer4 RequestedClaimTypes is Empty
- How do I debug a node_module inside my angular application?
- Cypress Login command for IdentityServer and oidc-client-js
- AccessTokenLifeTime expiration- Identity server code flow
- identityserver4 adding api resource causing unauthorized requests
- OIDC js library reponse cookies are not stored and not attaching for subsequent requests
- angular oidc-client-js silent renew is not working with multiple tabs
- oidc-client-js inconsistent query parameters during token refresh
- Logout from client doesn't work. Identity Server4
- Run two instances of a react application using OAuth2 in the same browser
- Client application (oidc) is redirected to login when IdentityServer4 is restarted
- The specified 'redirect_uri' is not valid for this client application
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?
You can configure your provider to give you an access token with multiple audience claims (App1 + App2) , in this way, when you login you can access both applications using the same access token.
An alternative solution is that some providers do provide so that you can get multiple access tokens from a single login. An example of this can be read about here here