Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why web authentication code not working properly #289

Open
Refaydeen opened this issue Jan 20, 2024 · 1 comment
Open

Why web authentication code not working properly #289

Refaydeen opened this issue Jan 20, 2024 · 1 comment
Labels

Comments

@Refaydeen
Copy link

Refaydeen commented Jan 20, 2024

here everything working and redirecting after redirecting it didnt execute any of the below code why i made breakpoints and tried it.After oauth.login it didnt execute below code.try {
final result = await oauth.login(refreshIfAvailable: true);

  // String? accessToken = await oauth.getAccessToken();
  result.fold(
        (error) {
      showError(error.toString());
    },
        (success) async {

      showMessage(success.refreshToken ?? 'Nodata');
      await Future.delayed(const Duration(seconds: 1)); // Add a small delay
          final result =
Copy link

github-actions bot commented Aug 9, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If you still think this issue is needed, reopen it again.

@github-actions github-actions bot added the stale label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant