aad_oauth
aad_oauth copied to clipboard
Why web authentication code not working properly
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 =
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.
Closing this issue due to lack of activity.