accounts-frontend/packages/app/components/auth
2024-12-24 01:04:57 +01:00
..
acceptRules Allow account deletion from the user agreement page 2020-08-01 01:49:30 +03:00
activation Some auth storybooks progress [skip ci] 2020-08-01 01:49:30 +03:00
appInfo The UI is adapted to the RTL layout 2021-03-26 04:19:04 +01:00
authError Add E2E tests for device code grant flow. 2024-12-18 01:02:02 +01:00
chooseAccount Fix type and lint errors after upgrading corresponding dependencies 2021-07-13 22:40:31 +02:00
deviceCode Fix TSC errors (I have no idea why do they appear) 2024-12-23 15:43:48 +01:00
finish Initial device code flow implementation 2024-12-10 20:42:06 +01:00
forgotPassword The UI is adapted to the RTL layout 2021-03-26 04:19:04 +01:00
login Fix labels on auth forms 2020-07-24 19:19:19 +03:00
mfa Fix labels on auth forms 2020-07-24 19:19:19 +03:00
password Fix labels on auth forms 2020-07-24 19:19:19 +03:00
permissions The UI is adapted to the RTL layout 2021-03-26 04:19:04 +01:00
recoverPassword Fix labels on auth forms 2020-07-24 19:19:19 +03:00
register Fix labels on auth forms 2020-07-24 19:19:19 +03:00
resendActivation Fix labels on auth forms 2020-07-24 19:19:19 +03:00
actions.test.ts Some tests progress [skip ci] 2024-12-23 12:33:41 +01:00
actions.ts Some tests progress [skip ci] 2024-12-23 12:33:41 +01:00
auth.scss Change prettier rules 2020-05-24 02:08:24 +03:00
Auth.story.tsx Some auth storybooks progress [skip ci] 2020-08-01 01:49:30 +03:00
AuthTitle.tsx Extract device code into a separate view. 2024-12-14 13:16:29 +01:00
BaseAuthBody.tsx chore(build): enable support for ts declare fields 2020-10-11 21:30:50 +03:00
Context.tsx Split the AccountSwitcher component on 2 independent implementations 2020-10-26 22:09:01 +03:00
factory.tsx Fix labels on auth forms 2020-07-24 19:19:19 +03:00
helpLinks.scss Change prettier rules 2020-05-24 02:08:24 +03:00
index.ts Fix babel warnings about ts types re-export 2019-12-25 12:54:05 +02:00
PanelTransition.tsx Fix another TSC error 2024-12-24 01:04:57 +01:00
README.md Change prettier rules 2020-05-24 02:08:24 +03:00
reducer.test.ts Change prettier rules 2020-05-24 02:08:24 +03:00
reducer.ts Initial device code flow implementation 2024-12-10 20:42:06 +01:00
RejectionLink.tsx Change prettier rules 2020-05-24 02:08:24 +03:00

How to add new auth panel

To add new panel you need to:

  • create panel component at components/auth/[panelId]
  • add new context in components/auth/PanelTransition
  • connect component to router in pages/auth/AuthPage
  • add new state to services/authFlow and coresponding test to tests/services/authFlow
  • connect state to authFlow. Update services/authFlow/AuthFlow.test and services/authFlow/AuthFlow.functional.test (the last one for some complex flow)
  • add new actions to components/auth/actions and api endpoints to services/api
  • whatever else you need

Commit id with example implementation: f4d315c