2025-03-20 - Frontend Authentication with Redux: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=concept=
=concept=
*use redux for trigger longin in user-detail
*use both of javascript funtion and react
 
*use redux for trigger longin in user-detail
*fist, Component will call loginStart function then check accessToken and accessToken_expire from local storage before login with AWS cognito
*after login with AWS cognito will redirect to login component


== other ==
== other ==

Revision as of 06:36, 17 April 2025

concept

  • use both of javascript funtion and react
  • use redux for trigger longin in user-detail
  • fist, Component will call loginStart function then check accessToken and accessToken_expire from local storage before login with AWS cognito
  • after login with AWS cognito will redirect to login component

other