Commit Graph

19 Commits

Author SHA1 Message Date
Waheed Ahmed
f83c24c020 fix: eslint issues 2022-07-21 14:45:56 +05:00
Zainab Amir
5f2570c440 feat: update logistration pages (#591)
- removed few unused classes
- updated login page to rely on error messages generated
from the frontend only.

VAN-138
2022-06-30 17:02:04 +05:00
Syed Sajjad Hussain Shah
9c555c06be fix: Manage imports eslint [VAN-48] 2022-06-17 15:32:41 +05:00
Zainab Amir
2099e62bb4 feat: add password change modal (#552)
* feat: add password change modal

Based on the error code sent from the platform, the modal will either
be to nudge users to change password or block users from logging in.

VAN-667
VAN-668
2022-04-04 16:42:07 +05:00
Waheed Ahmed
32300db8dd refactor: remove legacy code and move redesign code to src
VAN-670
2021-07-28 16:42:37 +05:00
Waheed Ahmed
e59f11a96e feat: added support for both legacy and new design (#349) 2021-07-27 16:57:14 +05:00
Waheed Ahmed
ea51a584e7 feat: set returning user cookie (#312)
Set returning user cookie to measure exit rate for A/B test.
2021-06-04 15:17:52 +05:00
Waheed Ahmed
b76998a36c feat: allow survey cookie to be used for login (#277)
Refactored register survey cookie to be used for login survey as well.

VAN-462
2021-05-10 21:10:43 +05:00
Waheed Ahmed
96d1be44c2 Fix scroll error for older browsers. (#235)
Check if scrollBehavior is supported otherwise fallback to two arguments
window.scrollTo(x-coord, y-coord).

VAN-439
2021-04-07 15:28:26 +05:00
adeelehsan
41a0deea5b skip hinted login check added for enterprise SSO 2021-04-01 14:59:28 +05:00
adeelehsan
738fda4622 redirect MFE to tpa url if tpa_hint
is secondary provider

VAN-401
2021-03-26 01:04:55 +05:00
Waheed Ahmed
beac574c12 Fix enrolment through SSO login/register. (#211)
VAN-415
2021-03-18 19:18:59 +05:00
Waheed Ahmed
c2d9a9384d Keep the query params intact within the app. (#201)
Currently, if the user lands on one page with course_id and enroll action
params and navigates to another page with the MFE, the query params
are not passed to that other page and resulting in not enrolling into
the course.

Also add these query params into login and register payload.

VAN-415
2021-03-11 20:01:16 +05:00
Adeel Khan
11888fcdc3 Fix to let tpa_hint url have ? instead of &
Now the url could also be of the form
?next=/dashboard?tpa_hint=oa2-google-oauth2
to be backward compatible with old url.

VAN-42
2021-02-22 11:32:09 +05:00
Adeel Khan
648c3f9de8 Enterprise sso login via tpa hint param.
VAN-42
2021-02-18 04:00:06 +05:00
Waheed Ahmed
15d774819c Replaced all throw (e) calls with logError(). (#122)
Also removed  unused utility functions.

VAN-49
2021-02-04 20:10:10 +05:00
Adeel Khan
5f6041d7f8 Adds custom fields support to registration form.
VAN-19
2020-12-14 17:51:40 +05:00
Waheed Ahmed
2032d898aa fix eslint issues and some refactoring. 2020-09-29 15:41:00 +05:00
Waheed Ahmed
0e12ca5cf3 Move logistration code from account MFE.
Moved all logistration and forgot password functionality
from account MFE.

VAN-83
2020-09-29 12:48:01 +05:00