redux-track | redux middleware that maps dispatch calls | State Container library
kandi X-RAY | redux-track Summary
kandi X-RAY | redux-track Summary
If you're unfamiliar with Redux, I'd highly recommend reading up on it. It's a predictable state container for your apps: basically, it allows you to easily track and manage the state of your application. It also allows you to put middlemen (read: middleware) between the thing that updates the state and the actual state update itself. That's what this is: when you say "HEY REDUX, UPDATE THE STATE!", this little piece of code is run just before Redux says "OK WILL DO THX".
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of redux-track
redux-track Key Features
redux-track Examples and Code Snippets
Community Discussions
Trending Discussions on redux-track
QUESTION
I've successfully followed this guide (https://docs.microsoft.com/en-us/aspnet/core/security/authorization/limitingidentitybyscheme?tabs=aspnetcore2x) to allow authentication for both my react/redux front end (using js fetch to pass a jwt token to Web API), plus the server-rendered "back end" (plain MVC) admin pages.
I can log into either "side" of the application, but I'm forced to log in again to get to the other side. The links to the server-side part of the app are plain "a href" tags, so can't pass the jwt header token. Is there any way to make the sign in to one auth scheme (e.g. JwtBearerDefaults.AuthenticationScheme) reflect the fact you're signed in in the other scheme (e.g. CookieAuthenticationDefaults.AuthenticationScheme)?
Note: similar to Asp.net React+Redux, tracking a user who has logged in?
This is my AuthController login method:
...ANSWER
Answered 2018-Jan-19 at 13:19In the end I fixed this by redirecting to the Server side login form for both the client and server login.
The server side login ("/Account/Login") form authenticated the client (jwt) and server (cookie) auth schemes
The client side login ("~/api/auth/login") form only authenticated the client (jwt).
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install redux-track
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page