aad_oauth icon indicating copy to clipboard operation
aad_oauth copied to clipboard

Why web authentication code not working properly

Open Refaydeen opened this issue 2 years ago • 1 comments

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 =

Refaydeen avatar Jan 20 '24 07:01 Refaydeen

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[bot] avatar Aug 09 '24 02:08 github-actions[bot]

Closing this issue due to lack of activity.

github-actions[bot] avatar Feb 15 '25 02:02 github-actions[bot]