Skip to content

Commit

Permalink
fix: customize sign up service
Browse files Browse the repository at this point in the history
  • Loading branch information
jjarvisp committed Feb 11, 2025
1 parent 2def137 commit 7b32513
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ import awsConfig from './aws-exports';
Amplify.configure(awsConfig);

const customServices: AuthContext['services'] = {
handleSignUp: async () => {
return {
isSignUpComplete: true,
userId: '******************',
nextStep: {
signUpStep: 'COMPLETE_AUTO_SIGN_IN',
},
};
},
handleAutoSignIn: async () => {
return {
isSignedIn: false,
Expand Down

0 comments on commit 7b32513

Please sign in to comment.