Open carmaa opened 4 months ago
Seems like the module has stopped throwing WebAuthenticationException on user cancellation of the login flow? This does not work any more:
WebAuthenticationException
try { credentials = await _auth0 .webAuthentication(scheme: dotenv.env["AUTH0_SCHEME"]!) .login( parameters: {'screen_hint': 'signup'}, audience: dotenv.env["AUTH0_AUDIENCE"]!, useEphemeralSession: true); } on WebAuthenticationException catch (e) { if (e.code == userCancelled) { logger.d('User aborted sign up'); return; } }
If I cancel the flow, no exception is thrown.
No response
1.7.1
3.19.6
iOS
16
Checklist
Description
Seems like the module has stopped throwing
WebAuthenticationException
on user cancellation of the login flow? This does not work any more:If I cancel the flow, no exception is thrown.
Reproduction
WebAuthenticationException
when login flow is cancelledAdditional context
No response
auth0_flutter version
1.7.1
Flutter version
3.19.6
Platform
iOS
Platform version(s)
16