File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
views/screens/onboarding_screens/signin_signup_screen/widgets Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ class AuthService extends ChangeNotifier {
104104
105105 signInWithProvider ({required String provider}) async {
106106 try {
107- final session = await account.createOAuth2Session (provider: provider);
107+ final session = await account.createOAuth2Session (provider: provider, success : "https://help-me-design.sumitpanwar.com" );
108108 _currentUser = await account.get ();
109109 _status = AuthStatus .authenticated;
110110 return session;
Original file line number Diff line number Diff line change @@ -193,19 +193,14 @@ class SignInView extends StatelessWidget {
193193
194194 final account = Account (client);
195195
196- // Go to OAuth provider login page
197-
198196 try {
199- await account.createOAuth2Session (provider: 'github' , success: "https://help-me-design.netlify.app/#/ " );
197+ await account.createOAuth2Session (provider: 'github' , success: "https://help-me-design.sumitpanwar.com " );
200198
201199 Navigator .pop (context);
202200 const snackbar = SnackBar (content: Text ('Account created!' ));
203201 ScaffoldMessenger .of (context).showSnackBar (snackbar);
204202 } on AppwriteException catch (e) {
205203 Navigator .pop (context);
206204 }
207-
208- // account.get();
209- // account.deleteSession(sessionId: "current");
210205 }
211206}
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ class VerificationView extends StatelessWidget {
109109 // Go to OAuth provider login page
110110
111111 try {
112- await account.createOAuth2Session (provider: 'github' , success: "https://help-me-design.netlify.app/#/ " );
112+ await account.createOAuth2Session (provider: 'github' , success: "https://help-me-design.sumitpanwar.com " );
113113
114114 Navigator .pop (context);
115115 const snackbar = SnackBar (content: Text ('Account created!' ));
You can’t perform that action at this time.
0 commit comments