Hi, any idea what this means?
It happens on android 10, but not always.
PlatformException(discovery_failed, Error retrieving discovery document: [error: null, description: Network error], null, null).
The code:
Future reLoginAction(String storedRefreshToken) async {
return await synchronized(() async {
try { final TokenResponse? result = await _appAuth.token(TokenRequest( this.clientId, REDIRECT_URI, issuer: ‘https://${this.domain}/oauth2/***********’, //real string
discoveryUrl: OKTA_DISCOVERY_URL, refreshToken: storedRefreshToken, )); return result!;
} on Exception catch (e, s) {
logger.e(‘error on login’, e, s);
} throw Exception(“ReSign in issue”); }); }