Commit Graph

82 Commits

Author SHA1 Message Date
Awais Ansari
c4ef3dbbd9 Merge branch 'master' of github.com:openedx/frontend-app-authn into aansari/sync-with-2u-main-branch-demo 2025-09-15 17:14:56 +05:00
Diana Villalvazo
5bd6926f2f refactor: Replace of injectIntl with useIntl (#1539) 2025-08-12 10:46:01 -04:00
ayesha waris
f3f14fb3e7 fix: fixed cohesion page url setup (#1476)
Co-authored-by: Ayesha Waris <ayesha.waris@A006-01000.local>
2025-04-23 20:25:22 +05:00
ayesha waris
6c8b3835b6 fix: fixed cohesion pageview (#1475)
Co-authored-by: Ayesha Waris <ayesha.waris@192.168.10.17>
2025-04-23 13:17:14 +05:00
ayesha waris
07ee2392e9 feat: added cohesion events tracking (#1329)
* feat: added cohesion events tracking

* test: fixed failing test cases

* refactor: moved cohesion code into a folder

* refactor: fire event on successful form submission

---------

Co-authored-by: Awais Ansari <awais.ansari63@gmail.com>
2024-10-17 20:28:25 +05:00
Muhammad Abdullah Waheed
0d603b5fa1 feat: added app name identifier in segment events (#1277)
* feat: added app name identifier in registration call

* feat: added utils for tracking events

* refactor: mapped login events

* refactor: mapped forgot password events

* refactor: mapped reset password events

* refactor: mapped register events

* fix: fixed unit tests

* refactor: mapped progressive prifiling events

* fix: fixed unit tests

* refactor: added app name in logistration events

* refactor: resolved PR reviews and fixed tests
2024-07-03 17:08:44 +05:00
Blue
dcbd644a25 feat: implement auto generated username experiment (#1248)
* feat: implement auto generated username registration exp
2024-05-13 14:11:03 +05:00
mubbsharanwar
d8947a4c0a revert: multistep registration experiment
revert multistep registration experiment changes

VAN-1930
2024-05-07 11:47:28 +05:00
Syed Sajjad Hussain Shah
6f325c20c3 feat: implement multi step registration experiment 2024-04-18 11:09:32 +05:00
Attiya Ishaque
36354761cc feat: Remove simplify registration experiment code (#1194) 2024-03-15 10:58:54 +05:00
Zainab Amir
8be350e35f Fix TPA skeleton loader (#1189)
* feat: update TPA skeleton
* fix: Prevent wrong appearance of skeleton after second tab click

---------

Co-authored-by: Stanislav Lunyachek <lunyachek@MacBook-Pro-M1.local>
2024-03-06 06:11:54 -08:00
Syed Sajjad Hussain Shah
9f8a1af7e3 feat: simplify registration experiment (#1164) 2024-02-26 17:22:24 +05:00
Brian Smith
fc60d9f7d1 chore(deps): update paragon and frontend-build to openedx scope (#1132) 2024-01-24 10:10:13 -05:00
Zainab Amir
ad7099ad38 Refactor login page to use functional component (#899)
* refactor: zamir/van 1390/add basic login form (#894)
Description: login refactor

* feat: add basic login form
* feat: remove cookie logic from login page

* refactor: refactor social auth, tpahint and institution login (#895)

* feat: add basic login form

* feat: add error handling

* refactor: refactor social auth, tpahint and institution login

Description:

Refactor the following flows:
1 - Institution login
2 - SSO login
3 - Tpahint

VAN-1391

---------

Co-authored-by: Zainab Amir <zainab.amir@arbisoft.com>

* fix: tests and lint issues (#905)

* feat: add tests

* fix: rebase this branch with master
Description:
Rebase with master branch
VAN-1413

* chore: update variable name

* fix: fix When using tpa-hint don't show the login form
Description: When using tpa-hint don't show the login form
VAN-1801

---------

Co-authored-by: Blue <ahtesham-quraish@users.noreply.github.com>
Co-authored-by: ahtesham-quraish <ahtesham.quraish@gmail.com>
2024-01-24 10:44:31 +05:00
mubbsharanwar
2ea9301c5e refactor: depreciate enzyme
move unit test from enzyme to RTL

VAN-1792
2024-01-17 12:37:01 +05:00
Moncef Abboud
78722f3e73 feat: implement SHOW_REGISTRATION_LINKS setting 2023-11-21 18:54:39 +05:00
Syed Sajjad Hussain Shah
d469102cee refactor: registration component refactoring (#1050)
* refactor: registration component refactoring

* fix: refactored constants
2023-09-05 13:52:25 +05:00
Syed Sajjad Hussain Shah
a473d79554 fix: forms data persistence issue (#1046) 2023-08-25 17:48:49 +05:00
Syed Ali Abbas Zaidi
efdefc300e feat: upgrade react router to v6 (#936) 2023-08-15 17:23:34 +05:00
Zainab Amir
61056240c4 refactor: base component name and folder structure (#958) 2023-06-27 14:17:04 +05:00
Syed Sajjad Hussain Shah
9e13141f6b fix: render embedded experience through pathname (#949) 2023-06-19 13:44:30 +05:00
Blue
4b64ce2534 fix: make host param compulsory (#948)
Description

Make host param compulsory and host should grab from query params when calling postMessage api

VAN-1485
2023-06-16 14:44:34 +05:00
Zainab Amir
5edcee9eb9 feat: allow welcome page to load for embedded experience (#944) 2023-06-15 15:46:34 +05:00
Syed Sajjad Hussain Shah
d41c06b1fd feat: allow embedded experience to open register page for authenticated users (#945)
VAN-1482
2023-06-15 14:42:09 +05:00
Blue
5c1ea04970 fix: change registration form for onramp (#939)
Description:
In this we have changed the regirstation form on the basis of embed query param and hide the multiple things

VAN-1476
2023-06-13 16:10:39 +05:00
Syed Sajjad Hussain Shah
22d477e55f fix: import/no-cycle eslint issue (#875)
VAN-1388

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-04-20 12:33:40 +05:00
adeelehsan
ad2ee9e013 logistration folder refactored to login and register 2021-01-26 05:48:09 +05:00
Adeel Khan
29b93eb6e5 Fix scrolling issue.
Scrolling was not working for error message
changes on form submission. useEffect was not
calling callback on its dependency change ie error message
.This patch would fix this.
2021-01-26 03:24:26 +05:00
Zainab Amir
691c16a3ec Handle Rate Limit (#89)
- Added a new error code for login failures
- Fixed form width issue of reset password page
- Fixed alignment of reset password failure and success messages
- Added title text for registration page for cases when no sso exists

VAN-122
2021-01-25 19:42:17 +05:00
Zainab Amir
35adc8eaf3 VAN-322: UX-Review: Update Forgot Password Pages (#92) 2021-01-25 19:29:18 +05:00
Zainab Amir
fed057c330 VAN-304: update alert link class (#91) 2021-01-25 16:42:59 +05:00
Waheed Ahmed
5d44f8e150 Update Facebook SSO button. (#88)
Updated Facebook SSO button color according to their brand
guidelines also fixed logo size.

VAN-296
2021-01-22 18:32:31 +05:00
Zainab Amir
b894e3ce0c Add account activation messages (#82)
Show messages based on the query paran recieved during the redirect after
account activation link is clicked

VAN-304
2021-01-22 13:17:03 +05:00
Waheed Ahmed
f50f7c89c0 Change login and registration API endpoints. (#80)
* Change login and registration API endpoints.

Changed login/registration endpoints to match monolith FE. Also
fixed a warning and removed an extra call to login_refresh.

VAN-107

* Fix login/register redirection.

VAN-12
2021-01-19 12:11:52 +05:00
uzairr
0154ee6272 fix signin-form-width-issue 2021-01-13 18:54:48 +05:00
adeelehsan
07d59a40d8 Skeleton added for the third party auth buttons
VAN-140
2021-01-12 20:42:02 +05:00
Adeel Khan
e114fa8663 Adds missing backend format validations error on submit.
VAN-283
2021-01-12 17:13:57 +05:00
uzairr
8cc17dd05f Add consistent padding between form and browser frame 2021-01-12 16:03:44 +05:00
uzairr
899bf2de61 fix missing branding issues 2021-01-08 16:05:21 +05:00
uzairr
0ab41922aa fix spacing issues on login and register page 2021-01-07 16:41:36 +05:00
uzairr
0497fcb0f2 fix spinner height 2021-01-07 16:06:03 +05:00
uzairr
74e07ce324 fix css styles 2021-01-07 15:32:08 +05:00
Waheed Ahmed
796c7e4cdb Fix max-width issue with social auth buttons. (#70)
VAN-222
2021-01-06 13:43:58 +05:00
Waheed Ahmed
56a1caaacb Make logistration pages responsive. (#69)
Made logistration pages response for smaller devices using
paragon components and bootstrap classes.

VAN-222
2021-01-06 12:36:55 +05:00
Zainab Amir
5fa1d40dbf Populate registration page fields (#66)
When registering via SSO, populate registration fields
with user data acquired from the social auth pipeline.

VAN-238
2021-01-04 18:42:52 +05:00
uzairr
db95674bec Add remote var for login issue support url 2021-01-04 18:11:12 +05:00
uzairr
ce4f54473d fix spinner position in safari 2021-01-04 15:49:33 +05:00
uzairr
e0485db0f5 add enterprise login link 2021-01-01 23:31:46 +05:00
uzairr
e992d432b3 re-align loader 2021-01-01 19:04:52 +05:00
Adeel Khan
f696587533 This patch fixes following;
*) Empty fields error messages
*) Removes onChange validations

VAN-204
2021-01-01 18:17:48 +05:00