Get customer Data after SignUp/Login

Baas X Auth Modules

Fetch Customer Data

Baas module fetches the user personal data and status after signup and login. So this action is called from Auth Module.

Code
  • Changes in LinkerStudio/modules/authentication/common/utils/AuthHelper.ts

Import after the last import:

import {baasUserAfterSignInAndSignUp} from 'LinkerStudio/modules/baas/common/utils/customer/CustomerHelpers';

Replace the function handleSuccessSignInAndSignUp by:

export const handleSuccessSignInAndSignUp = async (dispatch: AppDispatch) => {
  baasUserAfterSignInAndSignUp(dispatch);
  // Add actions after Success SignIn And SignUp
};

Last updated